G
Guest
Hi,
I am trying to use the GetXml() function of my DataSet, and its returning
all the rows and their values correctly in Elements format. How can i change
this default behaviour of the GetXml() function to return the embedded nodes
as an Attribute of an entity and not ChildNodes, e.g.
The DataSet's GetXml function returns like this
<File>
<FileName>some.xml</FileName>
<FileType>Xml</FileType>
</File>
I want it to return like this
<File FileName="some.xml" FileType="Xml" />
Please suggest. . .
Thanks!
With Regards
Sunny
I am trying to use the GetXml() function of my DataSet, and its returning
all the rows and their values correctly in Elements format. How can i change
this default behaviour of the GetXml() function to return the embedded nodes
as an Attribute of an entity and not ChildNodes, e.g.
The DataSet's GetXml function returns like this
<File>
<FileName>some.xml</FileName>
<FileType>Xml</FileType>
</File>
I want it to return like this
<File FileName="some.xml" FileType="Xml" />
Please suggest. . .
Thanks!
With Regards
Sunny