Problem with customization layer for XSL transformation
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 36
- Joined: Tue Apr 05, 2005 10:52 am
Problem with customization layer for XSL transformation
Hi,
I use Oxygen 5.1/Win and XEP to edit and transofrm my DocBook files. Since I am a newbie on the DocBook, XML, XSL and transformations, I use examples from Bob Stayton's book as well as other examples from the Net.
My problem is that when I want to use some customization while transforming DocBook files to PDF, I receive the following error:
SystemID: null
Description: E Processing terminated by xsl:message at line 166
I defined the custom stylesheet in the scenario configuration (DocBook PDF) as a cascade stylesheet by adding an XSL file to the list.
I have no idea what is wrong, especially that my custom stylesheet is much shorter than 166 lines.
My custom XSL validates, DocBook files validate, too. It seems the problem is with the customization layer, because when I transform XML to PDF without any customization, everything is OK. However, I have to change the appearance of some elements since the defaults don't satisfy me.
What's wrong with the setup or stylesheets? I can submit a sample sheet if necessary.
rgds,
Zby
I use Oxygen 5.1/Win and XEP to edit and transofrm my DocBook files. Since I am a newbie on the DocBook, XML, XSL and transformations, I use examples from Bob Stayton's book as well as other examples from the Net.
My problem is that when I want to use some customization while transforming DocBook files to PDF, I receive the following error:
SystemID: null
Description: E Processing terminated by xsl:message at line 166
I defined the custom stylesheet in the scenario configuration (DocBook PDF) as a cascade stylesheet by adding an XSL file to the list.
I have no idea what is wrong, especially that my custom stylesheet is much shorter than 166 lines.
My custom XSL validates, DocBook files validate, too. It seems the problem is with the customization layer, because when I transform XML to PDF without any customization, everything is OK. However, I have to change the appearance of some elements since the defaults don't satisfy me.
What's wrong with the setup or stylesheets? I can submit a sample sheet if necessary.
rgds,
Zby
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Hi Zby,
A customization layer is done by creating a stylesheet that imports the docbook stylesheet and adds some templates for instance. Then you just need to use this stylesheet instead of the docbook stylesheet when you perform the transformation. You do not need to cascade them.
Best Regards,
George
A customization layer is done by creating a stylesheet that imports the docbook stylesheet and adds some templates for instance. Then you just need to use this stylesheet instead of the docbook stylesheet when you perform the transformation. You do not need to cascade them.
Best Regards,
George
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