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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CONVERT ORACLE'S XML TO AN ADO RECORDSET'S XML

Status
Not open for further replies.

caranjo

Programmer
Jun 27, 2006
2
0
0
GB
Hi all,

The XML that gets dumped out of ORACLE resembles the following:
<?xml version = '1.0'?>
<rowset>
<row num ="1">
<a>abc</a>
<b>def</b>
<c>...</c>
</row>
</rowset>

But I need it to look like:

<xml xmlns:s="...">
<rs:row>
<z:row a = "abc" />
<z:row b = "def" />
<z:row a = "..." />
</rs:row>
</xml>

Does anybody have any way to make this conversion?

Thanks in advance!!

Carlos
 
You should not use element name starting with the sequence "xml" in any case combination. So the question is no good before it starts making sense. (Besides, what are s, rs,z... or are there some typo? or are they distinct?)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top