cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
449
Views
0
Helpful
1
Replies

how to get xml attribute

bphelps
Level 2
Level 2

What is the syntax for getting an attribute from a child? I tried this but it comes up null:

"/descendant::PhoneSystemConfiguration/child::DIDconfiguration[attribute::value='81611'][attribute::groupname]"

where I want to know the value of the attribute called "groupname" based on the attribute called "value".

1 Reply 1

bphelps
Level 2
Level 2

nevermind. typo in the xml path.