Phlip wrote: > node = assert_libxml('<foo><bar>content</bar></foo>') > assert{ node.instance_of? XML::Node } > assert{ node.find_first('/foo') } > # assert{ node.find_first('foo') }
assert{ node.find_first('descendant-or-self::foo') } D'oh!! (Of course I already knew about the axis trick...;) -- Phlip _______________________________________________ libxml-devel mailing list libxml-devel@rubyforge.org http://rubyforge.org/mailman/listinfo/libxml-devel