Problem with axf extension
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 18
- Joined: Fri Dec 15, 2017 6:13 pm
Problem with axf extension
Post by david-gopois69 »
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 ?
-
- Posts: 9431
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Problem with axf extension
Hi,
AXF extensions are interpreted only by the commercial Antenna House PDF processor.
But you seem to be trying to create the PDF using the Apache FOP processor bundled with Oxygen, processor which does not know these Antenna-House specific extensions.
Regards,
Radu
AXF extensions are interpreted only by the commercial Antenna House PDF processor.
But you seem to be trying to create the PDF using the Apache FOP processor bundled with Oxygen, processor which does not know these Antenna-House specific extensions.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 18
- Joined: Fri Dec 15, 2017 6:13 pm
Re: Problem with axf extension
Post by david-gopois69 »
Hi,
Thanks for your response.
But if I use the framewook Docbook and FOP conversion, the PDF bookmark are generated on the PDF output.
Have you an idea how the PDF bookmarks are generated for the Docbook template?
Regards
David
Thanks for your response.
But if I use the framewook Docbook and FOP conversion, the PDF bookmark are generated on the PDF output.
Have you an idea how the PDF bookmarks are generated for the Docbook template?
Regards
David
-
- Posts: 9431
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Problem with axf extension
Hi David,
When publishing Docbook to PDF there are two parameters which can be set in the "Parameters" list:
"fop1.extensions" - when set to "1" will generate a bookmark tree which can be processed using Apache FOP.
"axf.extensions" - when set to "1" will generate a bookmark tree which can be processed only using Antenna House.
You can search in the Docbook XSLTs for places where these parameters are used.
Regards,
Radu
When publishing Docbook to PDF there are two parameters which can be set in the "Parameters" list:
"fop1.extensions" - when set to "1" will generate a bookmark tree which can be processed using Apache FOP.
"axf.extensions" - when set to "1" will generate a bookmark tree which can be processed only using Antenna House.
You can search in the Docbook XSLTs for places where these parameters are used.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 18
- Joined: Fri Dec 15, 2017 6:13 pm
Re: Problem with axf extension
Post by david-gopois69 »
Hi Radu,
Thanks for your response.
I have found a solution with fop1.extension
Regards
David
Thanks for your response.
I have found a solution with fop1.extension
Regards
David
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