Hi--

I'm trying to figuere out how to add a node before and after another
node. I think for after I use sibling, but I have no ida about before.

Also I need to prepend a node to the inner xml of a node as opposed to
add it to the end. how is that done?

FYI, if interested I've been working on a lib called Cherry XML that
creates a nice interface much like Hpricot's, but instead uses
adapters  for either REXML or ruby-libxml.

I'm looking foward to using libxml primarily but there's still some
issues with the lib, so I have to fall back to REXML. The most
signifficant thing I've noticed it that I'm getting execution times 5
times slower than REXML. That mkes no sense. Has anyone else seen
this?

Thanks,
T.
_______________________________________________
libxml-devel mailing list
libxml-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/libxml-devel

Reply via email to