[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: A colon is not allowed in the name
> On Wed, March 25, 2009 19:00, Michael Kay wrote: > > XSLT will only handle input that is well-formed XML > conforming to the > > Namespaces recommendation. > > I'm curious: why? Normally the XSLT standard is pretty > standoffish about parsing (and serialization), and leaves > such matters to the XML parser. > Provided that the XSLT processor can be given a DOM tree as > input, and can give a DOM tree as output, why would it care > that the source document uses namespaces or not? It doesn't have to use namespaces. It just has to conform to the namespaces recommendation. That means that these documents are legal: (a) <my:a xmlns:my="http://my.com"/> (b) <a/> and this one is not: (c) <my:a/> Michael Kay http://www.saxonica.com/
|
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
|