This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[docbook-apps] Modifying image paths


I tend to write my raw docbook with a single image directory as a subdirectory of the article. As a result, my Figures look like this...

<figure id="Graphic_001"><title>Project Builder - New Project Assistant</title>
<mediaobject>
<imageobject>
<imagedata fileref="images/Graphic_001.png" format="PNG" />
</imageobject>
</mediaobject>
</figure>


When it's time to publish, I need to move the images from that local reference to a remote server, so the URL would need to change to

http://graphics.server.com/Article/ArticleName/images/Graphic_001.png


I could pre-process the xml through an xsl that modifies the imagedata fileref attribute to point to the final location, and then run those results through the docbook-xsl but I'm hoping there might be a way to do it in one swoop.


Thanks

Scott


--------------------------------------------------------------------- To unsubscribe, e-mail: docbook-apps-unsubscribe at lists dot oasis-open dot org For additional commands, e-mail: docbook-apps-help at lists dot oasis-open dot org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]