[Nitro] XmlBuilder

Bryan Soto bryan.a.soto at gmail.com
Mon Apr 17 17:39:56 EDT 2006

On 4/17/06, TRANS <transfire at gmail.com> wrote:
> Thanks. Actually what I meant by name clash is with internal method
> names in the XmlBuilder itself. Certain tags woould not make it the
> method_missing call and thus not markup correctly. I'm almost done
> rebuilding a new version that deals with these issues. OTOH I may
> rename it after all b/c I'm using REXML to generate the XML instead of
> just building a string. I did this simply to avoid having to worry
> about proper escaping --REXML handles it automatically. So in the case
> I may in fact rename it to REXMLBuilder or something like that.  If
> someone would prefer a pure string builder then it would be easy
> enough to create. It just takes a utility/helper module and a little
> extra glue to past them together:
>   class MyBuilder < Builder
>     include MyHelper
>     # def method_missing ...
>     # def to_s ...
>   end
> Which brings me to this last issue --the one I think you were thinking
> I meant. Jim is using Builder namespace so maybe we need something
> else. But what?

Does it do anything different from builder? If not, perhaps Generator,
Fabricator or Maker?

"Never tell people how to do things. Tell them what to do and they
will surprise you with their ingenuity." —General George S. Patton

More information about the Nitro-general mailing list