From: "Andrew S. Townley" Date: 2009-03-26T09:25:17+09:00 Subject: Re: [ANN] tagz-5.0.0 On Thu, 2009-03-26 at 09:16 +0900, ara.t.howard wrote: > On Mar 25, 2009, at 9:21 AM, James Gray wrote: > > > It might be neat to add some more dynamic method magic for this, like: > > > > foo_in_bar_ { … } > > > > I realize that's a bad example in case you really have a tag with > > that name, but you get the idea. > > > > i actually did that with xx at one point. > > i think that, or some proxy object is the way to go. I think in order to do namespaces correctly, you'd still need some kind of registry, and some way to control emitting the namespace declarations and prefixes at the right time. There would still be times when you'd want to suppress it (like the default case), but at the "top" of the relevant element (like the document's root node), you'd want to be able to have it emit the declarations. Of course, (really dreaming now), but it would be _really_cool_ if it could manage the nested scopes automatically and ensure that you'd spit out all of the required namespaces used by all of the nested scopes.... I know I'm not making your day here... :) -- Andrew S. Townley http://atownley.org