[Lazarus] Write XML
Joost van der Sluis
joost at cnoc.nl
Sun Dec 20 17:44:57 CET 2009
> There is a method in MS Visual Studio to what we pass a dataset
> obtained via SQL SELECT and the method convert columns to XML and
> write the XML data to disk.
> Is there a similar method in Lazarus? Or... How can I obtain the same
> result using Lazarus? An example would be very useful.
If you use sqldb, try dataset.SaveToStream(AStream, dfXML) and include
the xmldatapacketreader unit in your uses-section.
It's all quite new so please test it.
Joost.
More information about the Lazarus
mailing list