Subject: RE: Question: Should namespace::* return anything? From: Khun Yee Fung <kyeefung@xxxxxxxxxx> Date: Fri, 17 Dec 1999 19:18:38 -0500 |
What I suspected. XPath is getting more and more interesting and intriguing for me. I have the same feeling as when I was starting to learn Perl about 9 years ago. They both have some of the same issues about which function to include, how extensibility should be achieved, etc. Khun Yee -----Original Message----- From: Mike Brown [mailto:mbrown@xxxxxxxxxxxxx] Sent: Friday, December 17, 1999 7:00 PM To: 'xsl-list@xxxxxxxxxxxxxxxx' Cc: 'kyeefung@xxxxxxxxxx' Subject: 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: Question: Should namespace::* r, Mike Brown | Thread | XML DOM is not a good name for the , Mike Brown |
RE: Question: Should namespace::* r, Mike Brown | Date | Xsl problem (template matching), bhavesh bhanushali |
Month |