Jim Weirich said:
> I used my XML Builder
> to generate the XML, so the approach is parse with interwoven printing.

I just realized some folks might not know about Builder.  Read about
builder here:

    http://onestepback.org/index.cgi/Tech/Ruby/BuilderObjects.rdoc
    http://onestepback.org/index.cgi/Tech/Ruby/StayingSimple.rdoc

Builder is availble as a RubyGem:

    gem install builder

-- 
-- Jim Weirich     jim / weirichhouse.org    http://onestepback.org
-----------------------------------------------------------------
"Beware of bugs in the above code; I have only proved it correct,
not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)