John J. Boyer schrieb am 08.01.2012 um 01:51 (-0600):
> How do I change the content of a text node? There is a
> function for merging such nodes. However, I need to make
> unrestricted changes, insertions, deletions, replacements,
> etc. I may also want to completely replace the content
> with something else.

I'd take a look around here:

http://xmlsoft.org/html/libxml-tree.html

I don't know the C API, but there are lot's of functions
whose names sound promising:

xmlAddChild
xmlNodeSetContent
xmlReplaceNode
xmlNewDocText
xmlNewText
xmlNewTextChild
xmlTextConcat
xmlTextMerge
xmlUnlinkNode
xmlDOMWrapRemoveNode

-- 
Michael Ludwig
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xml@gnome.org
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to