[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Emmanouil Batsis wrote:
A single XPath expression can easily refer to nodes both in namespaces and nodes not in any namespace. It needs to be able to refer to each, and in Namespaces 1.0 there's no way to map a prefix to no namespace so unprefixed names must be reserved for names in no namespace.
Re: [xsl] XPATH problem with namespace
Subject: Re: [xsl] XPATH problem with namespace From: Elliotte Harold <elharo@xxxxxxxxxxxxxxx> Date: Thu, 07 Oct 2004 07:23:06 -0400 |
Emmanouil Batsis wrote:
Apologies for the XSLT 2.0 newbie question but why does the XSLT author have to deal with two default namespaces in the same document? At first glance, it seems that making XPath aware of the XSLT document's default namespace is a simpler solution.
A single XPath expression can easily refer to nodes both in namespaces and nodes not in any namespace. It needs to be able to refer to each, and in Namespaces 1.0 there's no way to map a prefix to no namespace so unprefixed names must be reserved for names in no namespace.
-- Elliotte Rusty Harold elharo@xxxxxxxxxxxxxxx XML in a Nutshell 3rd Edition Just Published! http://www.cafeconleche.org/books/xian3/ http://www.amazon.com/exec/obidos/ISBN%3D0596007647/cafeaulaitA/ref%3Dnosim
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] XPATH problem with namesp, David Carlisle | Thread | RE: [xsl] XPATH problem with namesp, Michael Kay |
Re: [xsl] XPATH problem with namesp, David Carlisle | Date | Re: [xsl] links don't work when IE , Anton Triest |
Month |