Hi, just wondering if anyone knows where I could get a tutorial or even just sample code of a delphi application writing an XML file? I've tried google (obviously) but had no luck.

Thanks!

Recommended Answers

All 2 Replies

Hi, thanks, I should have said I was using TXMLDocument. Anyway I got it done with this:

myXML := XMLDocument.DocumentElement.ChildNodes[0];
      myXML.ChildNodes['name'].NodeValue := 'newvalue';
      XMLDocument.SaveToFile();
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.