Page 1 of 1

problem transforming with an xsl stylesheet

Posted: Wed Mar 31, 2010 4:39 pm
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!

Re: problem transforming with an xsl stylesheet

Posted: Wed Mar 31, 2010 8:02 pm
by akresmer
Thank you, but the situation has changed and this forum question no longer applies.

Thanks anyway!