Re: outputting <?xml version="1.0" encoding="UTF-8" ?>
> My problem is that the <?xml version="1.0" encoding="UTF-8" ?> which > should appear at the top as a header, doesn't. Is that really a problem? the xml declaration is optional. Also are you sure that you are outputting in utf8? I don't really read vb but I don't think you are serialising the output using xslt (so using the xsl:output parameters) as you are sending stuff to an XmlTextWriter, but doesnt System.Text.Encoding.Unicode specify utf16 rather than utf8 ? http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconinputsoutputstoxsltransform.asp Note *the encoding attribute is ignored when the XslTransform.Transform method is sending its output to a TextWriter. The encoding property on the TextWriter is used instead. David
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format