Re: xpath search by LocalName
- From: "Paul" <paul419@xxxxxxxxxxxxxxxx>
- Date: Tue, 15 Nov 2005 07:25:14 -0800
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/
.
- Follow-Ups:
- Re: xpath search by LocalName
- From: Martin Honnen
- Re: xpath search by LocalName
- References:
- xpath search by LocalName
- From: Paul
- Re: xpath search by LocalName
- From: Martin Honnen
- xpath search by LocalName
- Prev by Date: XSD keyRef
- Next by Date: Re: xpath search by LocalName
- Previous by thread: Re: xpath search by LocalName
- Next by thread: Re: xpath search by LocalName
- Index(es):
Relevant Pages
|