Subject: Re: Error Gen'ing XML from HTML
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 30 Oct 2000 14:37:35 -0400 (EST)
|
> ValueXml = "<?xml version='1.0'?>\n";
>
> Even though the PI is in quotes, I get the error. My xsl file is below.
> My question I guess, is how do I embed an xml PI in an xsl stylesheet?
quotes " do not have any special meaning to an XML parser in that position.
It isn't a PI it's the XML declaration and has to appear as the first
(or third if using a byte order mark) byte of the file.
So your input isn't well fomed XML.
Probably you want <?xml .....
David
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|