Re: xpath search by LocalName



Thank you Martin, it worked wonderfully.

I tried to reply to this earlier but it seems that my message
it didn't get posted. Anyway, is there somewhere (book or website) that is
a good
resource for XPath?

Paul


"Martin Honnen" <mahotrash@xxxxxxxx> wrote in message
news:eWXEkEU6FHA.2676@xxxxxxxxxxxxxxxxxxxxxxx
>
>
> Paul wrote:
>
>> Does anyone have an idea how to retrieve all nodes in an XmlDocument
>> where the LocalName is equal to some string?
>
> You get all element nodes with
> //*
> then add a predicate in square brackets to filter on the local name e.g.
> //*[local-name() = 'thenamehere']
>
> Or do you really want all nodes including attributes with a certain local
> name?
>
> --
>
> Martin Honnen --- MVP XML
> http://JavaScript.FAQTs.com/


.



Relevant Pages

  • Re: Search engine optimizing.
    ... >This site will provide you with ALL the tools to optimise your website for ... Paul ... Prev by Date: ...
    (alt.internet.search-engines)
  • Re: Evenings Pleasures? Tuesday 9-6-05
    ... filter. ... Classy. ... Paul ... Prev by Date: ...
    (alt.smokers.pipes)
  • Due South DVDs? Paul Gross father?
    ... A while back somebody mentioned you could get autographed Due South DVDs ... from Paul Gross's father's website. ... Prev by Date: ...
    (rec.arts.tv)
  • XQuery how to keep order of elements?
    ... I have a element "v" wich has different types of objects a,b,c. ... for each of them to filter them by conditions. ... Paul ... Prev by Date: ...
    (comp.text.xml)
  • Re: Pre-dial not working
    ... I cant seem to find the T-Mobile access number on your website. ... Paul. ... Prev by Date: ...
    (uk.telecom.mobile)