Thanks for the reply.
That I understand. I'm new to this and maybe I asked incorrectly. Sorry.
To make myself clear I have the following XML file :-
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<musicvideo>
<title>Pulse</title>
<artist>Pink Floyd</artist>
</musicvideo>
The first line is what concerns me. How do I create this using FPC?
I read this :-
https://wiki.freepascal.org/Talk:XML_TutorialThe XML declaration <?xml version="1.0"?> is not a part of node tree. DOM specification levels 1 and 2 do not provide any means to modify it, but DOM level 3 introduces Document.xmlVersion, Document.xmlEncoding and Document.xmlStandalone properties for this purpose. xmlStandalone is not yet implemented by fcl-xml.
So my further question is this - Are there any FPC tools / components to handle DOM 3?