Subject:bug? in xsl processor (root-not-available) Author:Bruce Wallace Date:27 Jun 2002 05:45 PM
I've been trying to use [xsl:output] and [xsl:processing-instruction] and each separately seems to work. I can either generate a DOCTYPE in my xml output or I can generate a stylesheet reference in my output.
HOWEVER, when I try and do both, the DOCTYPE generated contains "root-not-available" rather than the actual desired value of "svg".
Again, the "svg" comes out nicely if I dont also try to generate the stylesheet
reference (via xsl:processing-instruction).
Here is an example of the "bad" output I get....
[?xml version='1.0' ?]
[!DOCTYPE root-not-available PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"]
[?xml-stylesheet href="gannt.css" type="text/css"?]
[svg width="100%" height="100%"]
[/svg]
thanks,
Bruce Wallace
P.S. here is my XSLT...
(try separately commenting out the xsl:output and/or xsl:processing-instruction tags)