Hello. I am new to XML and ASP XML Controls but understand ASP and VBSCRIPT pretty well. I need to extract child nodes from a large XML document
example:
Extract every "ph val" from "ac val='123'", and return:
4567891
4567892
4567893
Sample XML:
<list type='full' level='all' val='' />
<ac val='123'>
<ph val='4567891' />
<ph val='4567892' />
<ph val='4567893' />
</ac>
<ac val='321'>
<ph val='1231231' />
<ph val='1231232' />
<ph val='1231233' />
</ac>
</list>
I can then transfer the return to a database using ASP, which I understand how to do. The part I am having trouble with is the initial extraction of the specified child tags with VBSCRIPT or an ASP XML control. Whatever is the simplest. Any questions let me know. Thank you.
Start Free Trial