I just use a text editor to create them, but if you need to do it
programmatically, I think you can use XMLParser that is available on the
RAA.  There is an example called 'writer' that should get you started.

Just create a DOM tree programmatically, then build a visitor to traverse
the tree and dump the output.  (Look at xmltree.rb and xmltreebuilder.rb for
clues on how to build the tree... or post another message, and I will do my
best at giving you an example.)

Note: xmlparser sits on top of expat, so you will need to have that
installed.  Someone is also working on a pure Ruby xmlparser called NQXML.
I assume you could do the same sort of thing with that.

peace,
aaron

> From: Colin Steele [mailto:colin / webg2.com]
> What tools are currently available in Ruby-land (either as extensions
> or native code) for building XML documents?  The RAA doesn't seem to
> have any (unless I've missed something obvious).  What are folks out
> here using?