From: Sam Stephenson Date: 2004-08-02T04:40:12+09:00 Subject: Re: Normalizing XML tag values On Mon, 2 Aug 2004 04:25:19 +0900, Alexey Verkhovsky wrote: > I am looking for some piece of Ruby code that normalizes XML attribute > values (i.e., replaces '<' with '&@60;', etc). I'm not sure what &@60; is. Is this what you mean? | irb(main):001:0> require 'rexml/text' | => true | irb(main):002:0> REXML::Text.normalize '' | => "<foo & bar>" > Best regards, > Alex Sam