xmlDataDocument class and relational data

  • Thread starter Thread starter runningdog
  • Start date Start date
R

runningdog

Can one use the xmlDataDocument class to generate an xml document so that
relational data is nested.

eg.
<root>
<parent>row 1
<child> row 1</child>
<child> row 2</child>
</parent>
<parent>row 2
<child> row 3</child>
<child> row 4</child>
</parent>
</root>

best I can get is
<root>
<parent>row 1</parent>
<parent>row 2</parent>
<child> row 1</child>
<child> row 2</child>
<child> row 3</child>
<child> row 4</child>
</root>

TIA Steve
 
I'd guess not as the description is

"Allows structured data to be stored, retrieved, and manipulated through a
relational DataSet"

I think you actually need heirarchical data storage. Have a look at
XmlDocument
 
Back
Top