XMLDOM - Parsing

M

Mike Labman

I'm parsing an XML document using the XMLDOM object in ASP. I am
running into a problem with a section formatted like this:

<MasterElement>
TitleOfElement
<Abbreviation>
TOE
</Abbreviation>
</MasterElement>

If I use node.text, I get TitleOfElement TOE. I need to seperate the
two but cannot find any reference that addresses this. Of course I can
manually parse using standard functions like InStr, but it seems like
there should be a more proper way to extract the data. Anyone run into
this?

Thanks
 
M

Manohar Kamath [MVP]

Looks like TitleOfElement TOE is a single value, so you can not separate
them using any in-built XMLDOM functions. Any XML parsing requires that the
values are somehow separated.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top