Hi,
Can anyone tell me if it's possible to create a xml-document (with any kind of xml-framework) using a path and a value?
Something like this:
should create:
Attributes are not necessary, just plain Elements...
Anything like this already exists? Or do I need to construct something like this myself?
Thanks in advance !
Can anyone tell me if it's possible to create a xml-document (with any kind of xml-framework) using a path and a value?
Something like this:
Code:
doc.AddElement('person/telephone', '555-23589');
doc.addElement('person/address', 'street 1');
doc.addElement('companyGroup/company/name', 'Joe\'s');
Code:
<person>
<telephone>555-23589</telephone>
<address>Street 1</address>
</person>
<companyGroup>
<company>
<name>Joe's</name>
</company>
</companyGroup>
Anything like this already exists? Or do I need to construct something like this myself?
Thanks in advance !