[fpc-pascal] XML: how to change first line?

2011-07-24 Thread Reinier Olislagers
Hi list, I'm writing XML export for datasets using the XMLWrite and DOM units (as per documentation at http://wiki.lazarus.freepascal.org/XML_Tutorial) I've got this snippet: FOutputDoc := TXMLDocument.Create; How do I change the first line of the generated XML output from to I tried adding an

Re: [fpc-pascal] Timezone information in a dataset datetime field? - updated

2011-07-24 Thread Michael Van Canneyt
On Sat, 23 Jul 2011, Reinier Olislagers wrote: Hi all, I'm busy with writing an XML export unit targeting Microsoft Access/.Net framework (ADO.NET data access framework in particular). Runing an ADO.NET demo program I found out that the ADO.NET variant requires timezone info in its date/time

Re: [fpc-pascal] XML: how to change first line?

2011-07-24 Thread Michael Van Canneyt
On Sun, 24 Jul 2011, Reinier Olislagers wrote: Hi list, I'm writing XML export for datasets using the XMLWrite and DOM units (as per documentation at http://wiki.lazarus.freepascal.org/XML_Tutorial) I've got this snippet: FOutputDoc := TXMLDocument.Create; How do I change the first line of t

Re: [fpc-pascal] XML: how to change first line?

2011-07-24 Thread Reinier Olislagers
On 24-7-2011 12:49, Michael Van Canneyt wrote: > On Sun, 24 Jul 2011, Reinier Olislagers wrote: >> >> I tried adding an attribute like this: >>TDOMElement(FOutputDoc.DocumentElement).SetAttribute( >> 'standalone', UTF8Decode('yes')); >> but that gave an access violation: DocumentElement p

[fpc-pascal] Pascal Actor Model

2011-07-24 Thread Jorge Aldo G. de F. Junior
V2 Release of Pascal Actor Model is done. I am now im the process of adding UDP message streaming support. This will allow multithreading to include threads running in other computers on the same broadcast domain. Actor is a thread of sorts (it IS a thread but with some specific semantic rules t