mike leonard wrote:
> I'm looking at REXML as a possible alternative to some things I've been
> doing with XSLT, but I haven't the foggiest notion of how to accomplish
> even the simplest transformations. Using REXML, how would I go about,
> say, translating all <em>'s into <emph>'s, or all <chapter>'s into <div
> type="chapter">'s?

Have you tries brute-force regexp?

If that isn't a suitable option, use the stream or pull parser to 
traverse the document and do the substitution as each element is 
encountered.

There should  be an article on this topic coming up in Dr. Dobbs, but it 
may not appear for a month or so.



James


-- 

http://www.ruby-doc.org - The Ruby Documentation Site
http://www.rubyxml.com  - News, Articles, and Listings for Ruby & XML
http://www.rubystuff.com - The Ruby Store for Ruby Stuff
http://www.jamesbritt.com  - Playing with Better Toys