Hi,

I have a couple of small questions:

I have XML like this:

<a><b/></a>
I would like to add a node before <b/>, i.e.:
<a><c/><b/></a>

With the C library of libxml2, I could use xmlAddPrevSibling()
Is there an equivalent for ruby-libxml?

I would also like to know how it is possible to add a Dtd to a
Document. There seems to be no dtd= or equivalent.

Thanks,
Rik

_______________________________________________
libxml-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/libxml-devel

Reply via email to