[lazarus] Designer

Michael Van Canneyt michael.vancanneyt at wisa.be
Tue Apr 18 07:47:31 EDT 2000




On Mon, 17 Apr 2000, Curtis White wrote:

> Why don't you use the XML parser units that already exist in the FCL?  There are
> units in there to handle most XML processing.  It utilizes DOM instead of SAX,
> but that is probably fine with the size of files these will be (they probably
> won't be very large files).  Also, it has that TXMLConfig class that is really
> nice. You just give it a path, almost exactly like when using the Winblows
> registry and it creates your XML file for you. Very handy for config files.
> 
> I just don't see any reason to add another XML parser unless there is a need to.
> If anything, the existing XML parser should be enhanced to handle either SAX or
> DOM. Then we would have the best of both worlds and all part of the FCL.

It already handles DOM. There are changes planned to make it DOM level 3 compliant,
which would make it compatibe to SAX. Sebastian Guenther can give more details on
this.

So I definitely think you should use the provided classes.

Michael.






More information about the Lazarus mailing list