[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

Subject: RE: A colon is not allowed in the name
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Wed, 25 Mar 2009 22:43:37 -0000
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/

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.