Home

aliazzz

Project Members:

[[download_button]]

Usage

Simple XML datastring composing and parsing library.
Usage is very straightforward;

XmlControl.writeDocumentHeader(strHeader := '<?xml version=\"1.0\" encoding=\"UTF-8\"?>');
XmlControl.newTag('users');
XmlControl.newTag('user');
XmlControl.newPara('age', '42');
XmlControl.newPara('sex', 'male');
XmlControl.newTagData('John Doe');
XmlControl.closeTag();
XmlControl.newTag('user');
XmlControl.newPara('age', '39');
XmlControl.newPara('sex', 'female');
XmlControl.newTagData('Jane Doe');
XmlControl.closeTag();
XmlControl.closeTag();

yields

<?xml version=\"1.0\" encoding=\"UTF-8\"?><users><user age="42" sex="male">John Doe</user><user age="39" sex="female">Jane Doe</user></users>

Version

Current version is v0.2.1.0

Download

Download XmlControl.library