Android Question xml Builder

walterf25

Expert
Licensed User
Longtime User
Hi Erel, i need to write an xml file that looks like the example below, i've seen your xmlbuilder library, but i see that you're adding attributes and elements, i'm not too familiar with xml so i really don't understand, anyhow here's how i would like my data to look, is it possible to do this with your library? if so can you post a small example please?

B4X:
<processorder>
<order>
<date>2014-11-13</date>
<refnumber>RA-12233</refnumber>
<account>FLO001</account>
<email>xyz@example.com</email>
<items>
<item>
<code>ITT001</code>
<description>Fantastic Product</description>
<quantity>10</quantity>
<price>100.00</price>
</item>
</items>
</order>
</processorder>

thanks,
Walter
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…