Re: [xml] Stupid question, asked anyway.



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]