By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,943 Members | 1,921 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,943 IT Pros & Developers. It's quick & easy.

Xpath Query Issue (urgent)

P: 14
Hi all,
Im working with VB6.0 and XML here I need some Xpath Queries

Example XML:
<data>
...
- <Account Id="01SBI" Type="A" Location="Hyd">
----- <Content Source="Employee" scaleBasis="Fixed"/>
</Account>
.....
- <Account Id="02ICICI" Type="C" Location="Hyd">
------ <Content Source="Employer" scaleBasis="NonFixed"/>
</Account>
...
</data>

here <Account> is child node for <data> and <Content> is child node for <Account>

here I need to read all attributes from every node.
suppose,To find attribute values of "Account.Id","Content.scaleBasis" etc...from the XML,

For this Im using the following Xpath Query..
"data/Account/@Id"
"data/Account/Content/@scaleBasis" ..respectively..

These Xpath's populating only first node value,

How to get all repeated values,for this I need Xpath Query...

Is Any ideas would be helpful.
Feb 5 '08 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.