c# - XML Nodes - Searching 1 Node Getting its child nodes -



c# - XML Nodes - Searching 1 Node Getting its child nodes -

i tried larn more xml. in application have 1 button, 1 textbox searching head nodes , 1 kid nodes of head node.

example:

<root> <werk> <titel>so what?</titel> <gattung>pop</gattung> <interpret>pink</interpret> <komponist>max martin</komponist> <entstehungsjahr>2008</entstehungsjahr> </werk> </root>

now if searching in first textbox after title -> so what?, how can kid nodes of so what? ?

the kid nodes be:

pop pinkish max martin 2008

thx trying help me.

i think you're bit confused xml. element-node titel has 1 kid node, text-node value of "so what?". element nodes of gattung etc. siblings of titel, not children!

c# xml nodes

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -