Hi,
I need to read and write some general XML files and was thinking of using your TROOpenXMLDocument instead of the built-in TXMLDocument. Would you advise this or is there no real benefit over using the built-in functionality which leverages the MSXML parser?
One thing I noticed when using your classes was that, when writing out to a file, there are no line breaks between elements which can make the file hard to read in a standard text editor - is there any way of modifying this behaviour?
Similarly, when reading a file which does have such line breaks, these appear in the structure as additional nodes with names like ‘#text’. Is there any way of stripping these out automatically?
I appreciate that your implementation is primarily for the internal use of the RO framework when serialising information across the wire and I may be on totally the wrong track thinking of using it for my own XML files but I’d appreciate your opinion on the matter.