Re: How to get to the XML Declaration
On 5/24/05, Michael Kay <mike@xxxxxxxxxxxx> wrote: > > Why would you want to do it? The encoding isn't supposed to contain any > information apart from telling you what the encoding is, which you don't > need to know once the document has been parsed. > Michael, Why was this decision made? I see from the XSLT 2.0 requirements document, that one of the requirements was to give XSLT the ability to figure out what the input encoding was. There is even a use case mentioned in the requirements document : http://www.w3.org/TR/xslt20req (see item 1.4) which talks about why this would be useful. Thanks, Kenneth
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