Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2009-12

Write XML

6 messages · 5 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Reimar Grabowski
to Arí Ricardo Ody

On Wed, 16 Dec 2009 12:42:09 +0100
"Ar? Ricardo Ody" wrote:

Hi,

I cannot help you as I don't see your question. Could you please send normal text mails instead of html to this list.

thx

R.

A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?

Reply by email

Graeme Geldenhuys
to Arí Ricardo Ody: -------------- next part -------------- An HTML attachment was scrubbed... URL:…
Ar? Ricardo Ody wrote
via SQL SELECT and the method convert columns to XML and write the XML data to disk.

The tiOPF project (available on SourceForge) can do this. It should be quite easy to make the specific unit stand-alone without depending on the rest of tiOPF core units.

Regards,
- Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/

Reply by email

Michael Van Canneyt
to Graeme Geldenhuys
Graeme Geldenhuys wrote 7 lines
Ar? Ricardo Ody wrote: > via SQL SELECT and the method convert columns to XML and write the XML > data to disk. The tiOPF project (available on SourceForge) can do this. It should be quite easy to make the specific unit stand-alone without depending on the rest of tiOPF core units.

Free Pascal can do this directly, look at the fpsimplexmlexport.pp unit.

Michael.

Reply by email

Joost van der Sluis
to Arí Ricardo Ody: -------------- next part -------------- An HTML attachment was scrubbed... URL:…
Show quoted text 6 lines
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.

Reply by email