Docbook Maven Plugin, Images dissappear
Questions about XML that are not covered by the other forums should go here.
-
- Posts: 5
- Joined: Wed Oct 06, 2010 10:41 pm
Docbook Maven Plugin, Images dissappear
I'm using a maven docbkx plugin to generate html and pdf modspecs. The issue I'm having is that images are not showing up during generartion.
Example:
The way I have things setup, all the .xml files are used to create a single "Contents.xml" file that links to all the other documents. In this way you end up with one final book that contains all the modspecs. I beleive the issue lies in the fact that the images paths are local to the .xml they belong to, but the contents.xml file is 2 levels up in the folder structure and can't see the images locally. So I'm wondering how I can tell the plugin to use a relative(?) URL to find the images properly. (without moving the images or the renaming the path)
Example:
Code: Select all
<section xmlns="http://docbook.org/ns/docbook" xml:id="Visit" version="5">
<title>Visit</title>
<section>
<title>Screenshot</title>
<mediaobject>
<imageobject>
<imagedata fileref="screenshots/visitDialog.png" scalefit="1" width="100%" contentdepth="100%"/>
</imageobject>
</mediaobject>
</section>
</section>
Return to “General XML Questions”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service