mvolkmann / waxy

WAX - a new approach to writing XML
http://java.ociweb.com/mark/programming/wax.html
2 stars 0 forks source link

creating multiple tags #62

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Tried various example. But haven't be successful
2.
3.

What is the expected output? What do you see instead?
<parent>
<car>
   <owner>Jacob</owner>
   <price>1000</price>
<car>
<car>
   <owner>Peter</owner>
   <price>5000</price>
<car>
</parent>
What version of the product are you using? On what operating system?
1.0.5

Please provide any additional information below.
How do I achieve that ?

Original issue reported on code.google.com by kpoud...@gmail.com on 22 Sep 2012 at 6:10

GoogleCodeExporter commented 9 years ago
Does this work for you?

wax.start("parent");
wax.start("car").child("owner", "Jacob").child("price", 5000).end();
wax.start("car").child("owner", "Peter").child("price", 5000).end();
wax.close();

Original comment by r.mark.v...@gmail.com on 30 Sep 2012 at 1:56