Hello
I have a simple task of reading an XML structure, manipulate part of
it and writing it back to XML.
For example, adding 1$ for each book with a year element after 2005 in
the following example:
<?xml version="1.0" encoding="UTF-8"?>
<bookstore>
<book category="COOKING">
<title lang="en">Everyday Italian</title>
<author>Giada De Laurentiis</author>
<year>2005</year>
<price>30.00</price>
</book>
<book category="CHILDREN">
<title lang="en">Harry Potter</title>
<author>J K. Rowling</author>
<year>2006</year>
<price>29.99</price>
</book>
</bookstore>
clojure.contrib.zip-filter.xml is getting me close to this, but I
still do not see how can I use it (or other library) to modify values.
What would be the idiomatic (and easiest) way to do that?
I apologize in advance if this is too trivial.
Thanks
Tzach
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en