[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: How to get to the XML Declaration

Subject: Re: How to get to the XML Declaration
From: Elliotte Harold <elharo@xxxxxxxxxxxxxxx>
Date: Wed, 10 Aug 2005 07:00:22 -0400
xml get declaration
Kenneth Stephen wrote:

    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.

Speaking for myself (I have no idea what the WG's thinking was) that requirement was a COULD, not a MUST or even a SHOULD. I tend to think it's not that important to know the encoding. Most importantly providing that functionality would mean that an XSLT 2 processor couldn't be implemented on top of a standard XML parser which does not provide that information.

o;?Elliotte Rusty Harold  elharo@xxxxxxxxxxxxxxx
XML in a Nutshell 3rd Edition Just Published!

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.