The location where you save your new XSLT stylesheet (your customization layer) is very important for resolving the relative path in your import element:
Code: Select all
For the above import element to work you have to place your stylesheet in the [Oxygen-install-dir]/frameworks/docbook/xsl
Please follow the example of the XSLT stylesheet from the built-in Oxygen scenario called DocBook XHTML, that is [Oxygen-install-dir]/frameworks/docbook/xsl/xhtml/docbook_custom.xsl
. It imports (indirectly) the same docbook.xsl stylesheet and it works, but it is located in the [Oxygen-install-dir]/frameworks/docbook/xsl/xhtml/docbook_custom.xsl
directory, otherwise the relative paths for the imported stylesheets would not work.
You should validate your XSLT customization layer stylesheet with the Validate
action (with the shortcut Ctrl+Shift+V) available on the toolbar and also on the menu Document -> Validate
. Usually fixing all validation errors prevents any transformation errors.