We work with a modular structure and are reusing content many times. /doc |_ /app | | chapter1.xml ... | | tb-audit-icon-overview-tree.xml | |_ /images | |_ /icons | |_ /oas | | book.xml | | intro.xml | | chapter1.xml ... | | ax-icon-overview.xml | |_ /images | |_ /icons | |_ /fstd | | book.xml
In the appendix chapter ax-icon-overview.xml of "oas" I xinclude the file ../app/tb-audit-icon-overview-tree.xml which contains references to "app" icons. After resolving book.xml in "oas" with the latest xmllint version I also get a correct xml:base="../app/tb-audit-icon-overview-tree.xml". Now the facts: FO -> PDF everything fine concerning image inclusion. HTML with keep.relative.image.uris=1 produces incorrect relative paths for the "app" icons <img src="images/icons/treeNodeAuditInitial.png"/> when using xalan 2.7 or saxon 6.5.5. Only xsltproc gives me <img src="../app/images/icons/treeNodeAuditInitial.png"/> With keep.relative.image.uris=0 the resulting absolute paths to the image files are all correct, but they are of no new use because JavaHelp is to be generated afterwards. So I really wonder how xsltproc manages to get the relative paths correctly calculated, because I can't see a distinction between html or fo processing in common.xsl when xsl:template "relative-uri" is called from graphics.xsl. Thanks for clarification on this issue (which is chasing me since 5 years every now and then in different constellations). Unfortunately xsltproc is not THE solution for me because of other problems we have with it. Kind regards, Georges --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org