更新时间:2023-02-25 21:37:12
一个选项是使用 XmlDocument
class。 MSDN提供代码示例 [ ^ ]
hi,
I am reading Xml
The Xml structure looks like the following
but I have to find where it is
because there are "name"
<information> <person> <student> <name>michael</name> <surname>jackson</surname> </student> <teacher> <name>bon</name> <surname>jovi<surname> </teacher> </person> <lessons> <name>physics</name> <hour>10</hour> </lessons> </information>
What I have tried:
how can I do it
Thanks for your help
An option is using the XmlDocument
class. MSDN provides code samples[^].