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

read XML nodes

P: n/a
I have a XML file and i need to get the data of particular nodes
ex:
<myXML>
<car1 save=true>bmw</car1>
<car2 save=false>chevy</car2>
</myXML>

I need to read the node/attributes and if car1 save=true then display the
data for that. I can create the XML on the fly with my tag names but how can
i read the tags and attributes of the tag?
Nov 21 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Hi,

http://msdn.microsoft.com/library/de...mlfromfile.asp

Ken
-----------------
"Mike" <Mi**@discussions.microsoft.com> wrote in message
news:2D**********************************@microsof t.com...
I have a XML file and i need to get the data of particular nodes
ex:
<myXML>
<car1 save=true>bmw</car1>
<car2 save=false>chevy</car2>
</myXML>

I need to read the node/attributes and if car1 save=true then display the
data for that. I can create the XML on the fly with my tag names but how can
i read the tags and attributes of the tag?

Nov 21 '05 #2

P: n/a
that works but how can i only show the data for the ones were save= true

"Ken Tucker [MVP]" wrote:
Hi,

http://msdn.microsoft.com/library/de...mlfromfile.asp

Ken
-----------------
"Mike" <Mi**@discussions.microsoft.com> wrote in message
news:2D**********************************@microsof t.com...
I have a XML file and i need to get the data of particular nodes
ex:
<myXML>
<car1 save=true>bmw</car1>
<car2 save=false>chevy</car2>
</myXML>

I need to read the node/attributes and if car1 save=true then display the
data for that. I can create the XML on the fly with my tag names but how can
i read the tags and attributes of the tag?

Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.