2019. 04. 27. 13:57 keltezéssel, Michael Van Canneyt írta:
As far as I know you can't. I recently changed some things in xmlwriter so you can
influence the formatting to some degree, but no attempt is made to respect
the formatting of a previously read file. I believe the formatting info is
discarded on read (I would need to veify) so this would require lots of
rewriting.

The "indent" and "text content" problems solved on the reader side by ReadXMLFilePreserveWhitespace:

http://wiki.freepascal.org/XML_Tutorial#Whitespace_characters

Gabor
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to