We are looking at changing from using rexml in one project to libxml, as it proves to be much faster. However, the ruby libxml binding seems to be missing the capability to remove elements from an XML document (or at least I cannot see how to do so). Also, when trying to set attributes on a node (properties as libxml calls them), the attributes duplicate.

If i have a node like so:
<node name="something"/>

then in ruby i do (n is the node):
n['name'] = 'something else'

Now the node looks like:
<node name="something" name="something else"/>

Anyone know what I am missing?

Thanks in advance,

Mark

--
Mark Van Holstyn
[EMAIL PROTECTED]
http://lotswholetime.com
_______________________________________________
libxml-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/libxml-devel

Reply via email to