Re: How to access NS nodes

2001-07-17 Thread Gary L Peskin
And the namespace URI for that prefix is just the string value of the namepspace node. Gary Gary L Peskin wrote: > > Hmmm. XPath 4.1 states "The string returned by the namespace-uri > function will be empty except for element nodes and attribute nodes". > Here, we're talking about a namespace

Re: How to access NS nodes

2001-07-17 Thread Gary L Peskin
Hmmm. XPath 4.1 states "The string returned by the namespace-uri function will be empty except for element nodes and attribute nodes". Here, we're talking about a namespace node so namespace-uri should return the empty string. Might try name(). Gary [EMAIL PROTECTED] wrote: > > Here's anothe

Re: How to access NS nodes

2001-07-17 Thread David_Marston
Here's another generic XSLT question which may be in the FAQ, but I'll give a hint here: Given >If I have the 'C' Element, how do I get a list which contains the 'a' >and 'b' namespace desclarations, which are in scope? General idea: ; Get that working, then alter it to suit your

How to access NS nodes

2001-07-16 Thread Christian Geuer-Pollmann
Hi, How can I access all visible namespaces for a particular Element in DOM? If I have the 'C' Element, how do I get a list which contains the 'a' and 'b' namespace desclarations, which are in scope?