tags:

views:

121

answers:

1

Can a TClientDataSet XML file be restructured without loosing data? Are there any demo applications or source code that shows how to do restructure?

+1  A: 

yes and no, the xml doc is transformed using XLST so it needs to conform to that template to be able to be read by the TClientDataSet.

However that does also mean that you can also transform the doc to any format you like yourself into a separate doc, you just can't load the transformed doc directly into the TClientDataSet.

EDIT: Oops, forgot to post an example.

This project on code central shows a transform from clientdataset to an ADO recordset.

Tim Jarvis