problem transforming with an xsl stylesheet

Here should go questions about transforming XML with XSLT and FOP.
akresmer
Posts: 2
Joined: Tue Mar 30, 2010 9:46 pm

problem transforming with an xsl stylesheet

Post by akresmer »

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!
akresmer
Posts: 2
Joined: Tue Mar 30, 2010 9:46 pm

Re: problem transforming with an xsl stylesheet

Post by akresmer »

Thank you, but the situation has changed and this forum question no longer applies.

Thanks anyway!
Post Reply