i dont like this way of working with XML files... im creating my own model using an Class factory and RTTI properties.
you register your classes in the class factory and the XML loader uses a class function to select wich one to create for a given node. This lets you have a lot more control over the process. the same objects can save theyselves into another XML file thru a property called AsXML. Class Function XMLTag: String; Virtual; and Function AsXML : String; Virtual; im using this to develop a Component system for Powtils... (But can be used wherever needed) _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal