R
Rajesh AVRS
Hi guys
I have a requirement where I needed to extract the DataSet contents as
XML.
After filling the dataset, I am calling GetXml() and is working fine.
However, one of the column which I am querying, is CLOB data in XML
format.
Let us say, my dataSet looks like this after the select query:
COLUMN_A COLUMN_B
1 <A>AAA</A>
I expected the GetXml() method to return me the following:
<Table>
<COLUMN_A>1</COLUMN_A>
<COLUMN_B><A>AAA</A></COLUMN_B>
</Table>
But what I was this:
<Table>
<COLUMN_A>1</COLUMN_A>
<COLUMN_B><A>AAA</A></COLUMN_B>
</Table>
Basically the GetXml() method is treating the XML in Column B as text
which I don't want.
I want the GetXml() to treat the Column B value as subnode in the
returned xml.
Is there anyway to do this?
Appreciate your help.
thanks,
Rajesh
I have a requirement where I needed to extract the DataSet contents as
XML.
After filling the dataset, I am calling GetXml() and is working fine.
However, one of the column which I am querying, is CLOB data in XML
format.
Let us say, my dataSet looks like this after the select query:
COLUMN_A COLUMN_B
1 <A>AAA</A>
I expected the GetXml() method to return me the following:
<Table>
<COLUMN_A>1</COLUMN_A>
<COLUMN_B><A>AAA</A></COLUMN_B>
</Table>
But what I was this:
<Table>
<COLUMN_A>1</COLUMN_A>
<COLUMN_B><A>AAA</A></COLUMN_B>
</Table>
Basically the GetXml() method is treating the XML in Column B as text
which I don't want.
I want the GetXml() to treat the Column B value as subnode in the
returned xml.
Is there anyway to do this?
Appreciate your help.
thanks,
Rajesh