[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Re: how to select elements in a given namespace?


Subject: Re: [xsl] Re: how to select elements in a given namespace?
From: "Robert P. J. Day" <rpjday@xxxxxxxxxxxxxx>
Date: Mon, 17 Mar 2003 16:05:44 -0500 (EST)

On Mon, 17 Mar 2003, Dimitre Novatchev wrote:

> Note that the tool that is used to perform the evaluation of the above XPath
> expression must be provided with the proper definition of the "auth"
> namespace or be clever enough to deduct it from the source xml document
> (this is what the XPath Visualizer does).
> 
> In your own stylesheets you must have declared the "auth" (or another
> prefix) namespace with exactly the same namespace-uri as used in the source
> xml document. Only then the xpath expression above will "work".

ok, just to make sure i understand *this* part of it before i go back
and review namespaces, since i'm just using a program which is an xpath
"evaluator" (if i can call it that), there is no concept of a stylesheet
being used here, since i'm not trying to do a transformation, just some
selection from the original XML.

if this is correct so far, then xpathtester is not going to work on this
well at all since it apparently doesn't have the feature you're mentioning
that's built into XPath Visualizer (being able to deduce the namespace
just from the XML, right?)

my brain hurts ...

rday


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



Current Thread
Keywords