Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Transforming XML->XML using DOM in VB

Status
Not open for further replies.

MatsHulten

Programmer
Dec 29, 2000
180
SE
Hi! Here's what I'm trying to do:
=====================================================================
Convert
<rs>
<z:row MenuItem=&quot;19&quot; MenuRefItem=&quot;2194&quot; MenuName=&quot;User administration&quot; MenuLink=&quot;&quot; />
<z:row MenuItem=&quot;20&quot; MenuRefItem=&quot;2194&quot; MenuName=&quot;Pictures and background&quot; MenuLink=&quot;&quot; />
</rs>

Into this
<Menu>
<MenuItem ID=&quot;19&quot; Parent=&quot;2194&quot; MenuLink=&quot;&quot;>User Administration</MenuItem>
<MenuItem ID=&quot;20&quot; Parent=&quot;2194&quot; MenuLink=&quot;&quot;>Pictures and background</MenuItem>
</Menu>

The first XML-string is given when you save an ADO recordset to XML, the second is what I want to return from my COM-object.

Can someone help me get started?
-Mats Hulten
 
Mats, look at your thread in the VB general discussion, where you've posted the same question. I've posted some help there.

Jordi Reineman
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top