[Lazarus] Why Laz2_DOM, laz2_XMLRead, and laz2_XMLWrite?

Mattias Gaertner nc-gaertnma at netcologne.de
Wed Sep 20 21:19:49 CEST 2017


On Wed, 20 Sep 2017 20:38:23 +0200 (CEST)
Michael Van Canneyt via Lazarus <lazarus at lists.lazarus-ide.org> wrote:

>[...]
> Currently not, I think. 
> All the more reason to move everything to FCL in a unified codebase.

+1
 
> Or use your suggestion and use something like
> 
> Type
> {$IFDEF XMLUTF8}
>   XMLString = UTF8String;
> {$ELSE}
>   XMLString = unicodestring;
> {$ENDIF}
> 
> should do the job. I will have a look at this; the only thing that must
> then be properly checked is the actual reading and writing...

The laz2_dom has some options for keeping the spaces
(indentation). Don't know if this was already backported to the
original xmlreader/writer.

Mattias


More information about the Lazarus mailing list