← Prev in month ← Prev in thread

wax - writing api for xml

From
Andrew Welch <>
To
xml-dev <>
Date
2008-09-08T13:02:47Z
ID
<>
Thread
wax - writing api for xml
Just stumbled across this:

http://www.ociweb.com/mark/programming/WAX.html

Here's an example from that page, which demonstrates its method
chaining approach:

wax.start("car").attr("year", 2008).child("model", "Prius").close();

creates:

<car year="2008">
  <model>Prius</model>
</car>

...which is nice.



-- 
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/
← Prev in month ← Prev in thread