problem transforming with an xsl stylesheet
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 2
- Joined: Tue Mar 30, 2010 9:46 pm
problem transforming with an xsl stylesheet
Hello All,
I am an archivist with an EAD-flavored XML file that needs to be transformed into HTML. I have an XSL stylesheet that seems to work except for one main error. The problem appears to be with this portion of the code:
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:saxon="http://icl.com/saxon" extension-element-prefixes="saxon" doctype-public="-//W3C//DTD HTML 4.0 Transitional//EN" version="1.1">
Specifically, my software does not like the version="1.1". When I try to validate the stylesheet, it produces this error:
Engine name: Saxon-PE 9.2.0.2
Severity: fatal
Description: Attribute @doctype-public is not allowed on element <xsl:stylesheet>
Start location: 3:205
URL: http://www.w3.org/TR/xslt20/#err-XTSE0090
Does anyone out there have a clue what I need to do to make this error go away? I am a real beginner and have been fumbling around in the dark. Any assistance or advice would be greatly appreciated.
Thank you!
I am an archivist with an EAD-flavored XML file that needs to be transformed into HTML. I have an XSL stylesheet that seems to work except for one main error. The problem appears to be with this portion of the code:
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:saxon="http://icl.com/saxon" extension-element-prefixes="saxon" doctype-public="-//W3C//DTD HTML 4.0 Transitional//EN" version="1.1">
Specifically, my software does not like the version="1.1". When I try to validate the stylesheet, it produces this error:
Engine name: Saxon-PE 9.2.0.2
Severity: fatal
Description: Attribute @doctype-public is not allowed on element <xsl:stylesheet>
Start location: 3:205
URL: http://www.w3.org/TR/xslt20/#err-XTSE0090
Does anyone out there have a clue what I need to do to make this error go away? I am a real beginner and have been fumbling around in the dark. Any assistance or advice would be greatly appreciated.
Thank you!
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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