Re: [xml] Modifying Text Nodes
- From: Michael Ludwig <milu71 gmx de>
- To: xml gnome org
- Subject: Re: [xml] Modifying Text Nodes
- Date: Sun, 8 Jan 2012 11:17:06 +0100
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]