Re: [fpc-pascal] XML - Indent, text content, special char

2019-04-30 Thread Gabor Boros
2019. 04. 30. 2:45 keltezéssel, wkitt...@windstream.net írta: are you saying that you are trying to use fixed-width fields that are space-padded in XML files??? No. The XML files are exists already. The task is... Load the contents/file to a TObject descendant, modify the data in the object(s)

Re: [fpc-pascal] XML - Indent, text content, special char

2019-04-30 Thread wkitty42
On 4/30/19 9:36 AM, Bernd Oppolzer wrote: Am 30.04.2019 um 02:45 schrieb wkitt...@windstream.net: On 4/29/19 1:27 PM, Gabor Boros wrote: Is this not a bug? Lost of formatting is not disturb me but text between > and < is the data/text content of a node. are you saying that you are trying to u

Re: [fpc-pascal] XML - Indent, text content, special char

2019-04-30 Thread Bernd Oppolzer
Am 30.04.2019 um 02:45 schrieb wkitt...@windstream.net: On 4/29/19 1:27 PM, Gabor Boros wrote: Is this not a bug? Lost of formatting is not disturb me but text between > and < is the data/text content of a node. are you saying that you are trying to use fixed-width fields that are space-padd

Re: [fpc-pascal] XML - Indent, text content, special char

2019-04-29 Thread wkitty42
On 4/29/19 1:27 PM, Gabor Boros wrote: Is this not a bug? Lost of formatting is not disturb me but text between > and < is the data/text content of a node. are you saying that you are trying to use fixed-width fields that are space-padded in XML files??? -- NOTE: No off-list assistance is

Re: [fpc-pascal] XML - Indent, text content, special char

2019-04-29 Thread Gabor Boros
2019. 04. 28. 21:24 keltezéssel, Santiago A. írta: If you need the same indent or special chars, XML is not the right format for you. Consider it XML is not my choice. ;-) Gabor ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://li

Re: [fpc-pascal] XML - Indent, text content, special char

2019-04-29 Thread Gabor Boros
2019. 04. 28. 9:25 keltezéssel, Gabor Boros írta: The "indent" and "text content" problems solved on the reader side by ReadXMLFilePreserveWhitespace: With a sample application but not with the real life application. :-( (My real application just find node for every second FindNode call.) Wit

Re: [fpc-pascal] XML - Indent, text content, special char

2019-04-28 Thread Santiago A.
El 27/04/19 a las 13:29, Gabor Boros escribió: Hi All, I have an existing XML file. After load(, modify) and save this file some mandatory formatting things lost from it. I need same indent as before, same text contents and not replace every special chars. If you need the same indent or spec

Re: [fpc-pascal] XML - Indent, text content, special char

2019-04-28 Thread Michael Van Canneyt
On Sun, 28 Apr 2019, Gabor Boros wrote: 2019. 04. 28. 9:35 keltezéssel, Michael Van Canneyt írta: the newly exposed XMLWriter Will be merged/backported into fixes_3_2? I just merged it. Michael.___ fpc-pascal maillist - fpc-pascal@lists.free

Re: [fpc-pascal] XML - Indent, text content, special char

2019-04-28 Thread Gabor Boros
2019. 04. 28. 9:35 keltezéssel, Michael Van Canneyt írta: the newly exposed XMLWriter Will be merged/backported into fixes_3_2? Gabor ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fp

Re: [fpc-pascal] XML - Indent, text content, special char

2019-04-28 Thread Michael Van Canneyt
On Sun, 28 Apr 2019, Gabor Boros wrote: 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

Re: [fpc-pascal] XML - Indent, text content, special char

2019-04-28 Thread Gabor Boros
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 disc

Re: [fpc-pascal] XML - Indent, text content, special char

2019-04-27 Thread Michael Van Canneyt
On Sat, 27 Apr 2019, Gabor Boros wrote: Hi All, I have an existing XML file. After load(, modify) and save this file some mandatory formatting things lost from it. I need same indent as before, same text contents and not replace every special chars. With the below code I got the attached O