Re: [xml] Getting element content non-recursively




copy and paste ! Yes you need 2 operations to be sure if you don't
understand libxml2 internals:
 http://xmlsoft.org/html/libxml-tree.html#xmlDocCopyNode
 http://xmlsoft.org/html/libxml-tree.html#xmlAddNextSibling

Daniel

Aha! Thanks very much, problem solved! However, those functions above led me
to xmlReplaceNode which did exactly what I wanted. :-)

Caroline






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]