All, I need to be able to parse the following
<enroll>
<personalInfo>
<name>john smith</name>
<email>jsmith@aol.com</email>
<position>loafer</position>
</personalInfo>
<busisness>
<companyName>ISIS Inc.</companyName>
</business>
</enroll>
I am writing an asp app to parse something like this. I need to be able to get a node by name, and either get the text value of that node, or another child node by name. And then get the text value of that child.
How do I do that? Do I use getElementsByTagName?
David Pimental
(US, Oh)
<enroll>
<personalInfo>
<name>john smith</name>
<email>jsmith@aol.com</email>
<position>loafer</position>
</personalInfo>
<busisness>
<companyName>ISIS Inc.</companyName>
</business>
</enroll>
I am writing an asp app to parse something like this. I need to be able to get a node by name, and either get the text value of that node, or another child node by name. And then get the text value of that child.
How do I do that? Do I use getElementsByTagName?
David Pimental
(US, Oh)