xsl-list
[Top] [All Lists]

Re: [xsl] XPath problem with namespace attribute

2008-09-05 13:12:59
Matthew Hailstone wrote:
Solved it.

Looks like another option is to put the empty prefix in my XPath.

/One/Two/:Three/:Four/:Five

I don't think this is proper syntax. Proper XPath 2.0 syntax is
  /One/Two/*:Three/*:Four/*:Five
with XPath 1.0 you can only do
/One/Two/*[local-name() = 'Three']/*[local-name() = 'Four']/*[local-name() = 'Five']

--

        Martin Honnen
        http://JavaScript.FAQTs.com/

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--