Marcos, here are a few notes when working with Codebot.Text.Xml:
* You can use IDocument.Load/Save to load and save Xml to and from files.
* If the Xml text is in an invalid state, the IDocument will be empty.
* Attempts to read an empty IDocument Text or Xml property return an
empty Xml doctype.
* You can check if IDocument contains valid Xml by seeing if the root
node exists. ie: Document.Root <> nil
* Alternately you can validate Xml using the XmlValidate function...
function XmlValidate(const Xml: string): Boolean;
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus