Hpricot usage

can anybody tell me how to write to a xml document using hpricot? Is it
possible to do that? Here is my xml in which i want to change the
ordernumber everytime i run my script.








hpricot really is just a parsing library for HTML or XML.

For writing out XML, you should look into libxml-ruby or even just
REXML if you don’t want an external dependency.

Jason