Problem with axf extension
Posted: Tue Jan 09, 2018 11:04 am
Hello,
I have developped an XSL stylesheet to convert XML document in PDF with FOP. I want use axf extension to create PDF bookmarks. I add axf attributes (axf:outline-level, axf:outline-expand, axf:outline-title) to an "fo:block" tag but when I try to publish the XML document, I have an error.
The FOP error is:
ERROR - net.sf.saxon.trans.XPathException: org.apache.fop.fo.ValidationException: Invalid property encountered on "fo:block": axf:outline-level (See position 994:-1)
In my stylesheet, I have added the namespace xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions" and the XSL parameter <xsl:param name="axf.extensions" select="1"/>.
Can you help me ?
I have developped an XSL stylesheet to convert XML document in PDF with FOP. I want use axf extension to create PDF bookmarks. I add axf attributes (axf:outline-level, axf:outline-expand, axf:outline-title) to an "fo:block" tag but when I try to publish the XML document, I have an error.
The FOP error is:
ERROR - net.sf.saxon.trans.XPathException: org.apache.fop.fo.ValidationException: Invalid property encountered on "fo:block": axf:outline-level (See position 994:-1)
In my stylesheet, I have added the namespace xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions" and the XSL parameter <xsl:param name="axf.extensions" select="1"/>.
Can you help me ?