Hi,

At Tue, 11 Feb 2003 07:51:04 +0900,
Sean Chittenden wrote:
> #BEGIN test.rb
> str = '<a id="two"/>' # snip XML dtd/doc
> root = XML::Parser.new().string=(str).root
> node_set = root.pointer('xpointer(id("two"))')
> node_set.each{|n| p n}
> #END test.rb

XML::Parser.class_eval {alias set_string string=}
root = XML::Parser.new().set_string(str).root

> *grump* I'll stop pouting now, but I think this was a step in the
> wrong direction. -sc

It depends on what user expects.  Probably, Assignment would be
expected to work as assignment in most cases.

-- 
Nobu Nakada