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

RE: Question: Should namespace::* return anything?

Subject: RE: Question: Should namespace::* return anything?
From: Mike Brown <mbrown@xxxxxxxxxxxxx>
Date: Fri, 17 Dec 1999 17:00:06 -0700
RE: Question: Should namespace::* return anything?
Khun Yee Fung wrote:
> //namespace::*. What should the result be?
> 
> From the spec:
> 
> Elements never share namespace nodes:

The explanation following that statement makes it more confusing than it
needs to be.

> For instance, if the XML document is as follow:
> 
> <?xml version='1.0?>
> <top>
>   <second/>
> </top>

Then the node tree consists of five nodes (sorry, no ASCII art this time):

root
  element 'top'
    namespace 'xml'='http://www.w3.org/XML/1998/namespace'
    element 'second'
     namespace 'xml'='http://www.w3.org/XML/1998/namespace'

> and the expression is "//namespace::*". Are there two nodes 
> (albeit looking identical) in the final nodeset

Yes. Not that I am an authority on the matter.


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.