RE: How to read the encoding of an XML document
> My XML document has a specific encoding. > > <?xml version="1.0" encoding="ISO-8859-1"?> > <document>data goes here</document> > > What XSL do I use to read the value of the encoding attribute?
When you say Unicode, does that equate to UTF-8, UTF-16, UTF-32 or something else? Or does the answer depend upon the XML parser you are using, which in my case is MSXML3.0?
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
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