Advertisement

07.15.2004 at 06:48AM PDT, ID: 21059845
[x]
Attachment Details

Extract child nodes from XML using VBSCRIPT and ASP.

Asked by netconnx in Extensible Markup Language (XML)

Tags: ,

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
[+][-]07.15.2004 at 07:50AM PDT, ID: 11559604

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]07.15.2004 at 08:26AM PDT, ID: 11559958

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.15.2004 at 10:27AM PDT, ID: 11561210

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.15.2004 at 10:35AM PDT, ID: 11561292

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.15.2004 at 10:38AM PDT, ID: 11561314

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.15.2004 at 10:39AM PDT, ID: 11561325

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.15.2004 at 11:02AM PDT, ID: 11561540

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.15.2004 at 11:04AM PDT, ID: 11561554

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.15.2004 at 12:08PM PDT, ID: 11562222

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.15.2004 at 12:36PM PDT, ID: 11562473

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.15.2004 at 12:37PM PDT, ID: 11562487

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.15.2004 at 12:52PM PDT, ID: 11562632

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.15.2004 at 01:22PM PDT, ID: 11562938

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Extensible Markup Language (XML)
Tags: vbscript, xml
Sign Up Now!
Solution Provided By: carl_tawn
Participating Experts: 2
Solution Grade: A
 
 
[+][-]07.15.2004 at 01:32PM PDT, ID: 11563026

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32