[fpc-pascal] XML - Indent, text content, special char
Gabor Boros
mlnglsts at bgss.hu
Sun Apr 28 09:25:19 CEST 2019
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
More information about the fpc-pascal
mailing list