
on Wed Jul 11 2007, Mathias Gaunard <mathias.gaunard-AT-etu.u-bordeaux1.fr> wrote:
David Abrahams wrote:
I find XML horrible to read, however I find most of the ^^^^^^^^^^^^^^^^^^^^^^^^^^^ procedural code I've seen for manipulating it even more horrible.
I would like to see a more declarative syntax for much of this stuff.
root.push_front( tag("articleinfo")[ title ? (comment("This title was moved"), title) : NULL , tag("author")[ tag("firstname")["Joe"], tag("surname")["Random"] ] ] )
Interesting. It doesn't look a lot like raw XML
Maybe that's the point ;-)
but it certainly integrates better into C++.
That too. -- Dave Abrahams Boost Consulting http://www.boost-consulting.com The Astoria Seminar ==> http://www.astoriaseminar.com