|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Re: how to select elements in a given namespace?
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








