hi~
i was wondering if there is a way to use xquery to find if a node (or nodes) that contain(s) a specific value. i know that i can query off the node name or even attribute but i can't seem to find any reference for querying on the actual value contained in the node. anyone know if this is possible?
query xml data for node value
Moderator: General Moderators
- Ambush Commander
- DevNet Master
- Posts: 3698
- Joined: Mon Oct 25, 2004 9:29 pm
- Location: New Jersey, US
Re: query xml data for node value
Yes, use text() in a predicate.
Re: query xml data for node value
thanks, it worked!