[xml] use of xmlReplaceNode



hi!

just like to ask, what the propper use of xmlReplaceNode is.

if I do somethink like

someNode = xmlReplaceNode(anyNode, newNode)

someNode points to anyNode, as expected, but the contents of anyNode are the same as before, and not, as I expected, the contents of anyNode.

as I'm not too familiar with libxml2 yet i would like to ask i anybody has a short example how to use it properly?

I would be very happy with that,

thanks in advance, Ines Willenbrock




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