Sean Chittenden wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

If the argument to << is a string, append to the xmlNode->content via xmlNodeAddContent(3). If, however, the argument is an XML::Node, then use xmlAddChild(3) to add an xmlNode->child node.

And if it's an atribute:

node1 << XML::Attribute.new('foo','bar')

Hmm, I wonder if that still works. I suspect it may not, would have to check.

Charlie

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

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

Reply via email to