Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2013-01

xmlConfig Documentation

4 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

John
to Reinier Olislagers
Reinier Olislagers wrote 5 lines
John, it would be great if you could write something on that wiki page... Not aware of existing docs either...

Done. See http://wiki.lazarus.freepascal.org/xmlconf.

In doing this, a few extensions come to mind:

1) Ability to set the string values used for boolean constants, as is possible in some other components.

2) A method Setkey(Paths:array of Widestring) which would clear the existing key stack and add each element of Paths as a separate stack element. (This is just a "convenience").

3) Ability to enumerate the siblings and children of a node. This ability exists in the TXMLDocument object used by XMLConfig, but as the object is declared "protected", it seems impossible to achieve this without modifying TXMLConfig or creating a descendant.

At the moment, I am planing to do the above and some current-project-specific additions in a descendant class, but if the above is of general interest, I could either produce a patch to XMLConfig or a descendant class for the 'general' extensions.

cheers,
John Sunderland

Reply by email