
Hi Radu, Thanks for your response. Our custom schema is not Docbook-based (I'm not even familiar with that schema). We have a custom framework/document type that we've built from scratch (although I may have started with an existing .framework file). But, I can't find anything in the documentation concerning how you create a custom action for inserting a graphic. We're just starting out with Oxygen are are trying to determine if it fits our needs. Currently, our publishing application takes an absolute path (e.g., D:\{path}) and transforms it into an entity that is valid across user platforms. That application is not expecting the path to begin with "file:/". I understand that, in general, the URI format includes that nomenclature, but if there is an easy way to suppress it, that would be our preference over modifying our application. If you can point me to a description of creating a custom action, it would be appreciated. Thanks again, Dave -----Original Message----- From: oxygen-user-bounces@oxygenxml.com [mailto:oxygen-user-bounces@oxygenxml.com] On Behalf Of Oxygen XML Editor Support Sent: Wednesday, August 15, 2012 12:41 AM To: oxygen-user@oxygenxml.com Subject: Re: [oXygen-user] Graphic href attributes Hi David, The majority of XML vocabularies expect the href's in general to be in the URI format (and if possible to be relative to the source file) in order to be more portable between platforms. Is your custom schema Docbook-based? If you have a custom schema this means that you have also defined a custom document type. This would mean that the action for inserting an image is a custom action created by you so basically you could change it to perform whatever you wish with it. Or are you using parts of the document type we have defined for Docbook for your schema? Regards, Radu Radu Coravu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 8/15/2012 12:14 AM, Hintz, David wrote:
When we insert a graphic element from our custom schema and browse to the graphic we're inserting, we'd like just the absolute path to be inserted in the XML. For example, we'd like:
<graphic href="D:/image.jpg"/>
and not:
<graphic href="file:/D:/image.jpg"/>
Is that possible?
Dave Hintz
Siemens
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user