Re: [xml] Stupid question, asked anyway.
- From: Daniel Veillard <veillard redhat com>
- To: Kurt Schwind <kurt schwind arch com>
- Cc: xml gnome org
- Subject: Re: [xml] Stupid question, asked anyway.
- Date: Tue, 18 Nov 2003 16:32:42 -0500
On Tue, Nov 18, 2003 at 03:24:07PM -0600, Kurt Schwind wrote:
Pardon the ignorance, I'm in API-overload land. I want to add
'whitespace' to my xml document. Do I just add a child and set the
attribute to XML_TEXT_NODE in some fashion?
use xmlNewText
http://xmlsoft.org/html/libxml-tree.html#xmlNewText
and xmlAddChild
http://xmlsoft.org/html/libxml-tree.html#xmlAddChild
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]