Thunderstone Software Document Search, Retrieval, and Management
Search:
Vortex Manual
 

xmlTreeSetContent

 

SYNOPSIS

    xmlNode xmlTreeSetContent(xmlNode node, string content)

Parameters:

  • node - the xmlNode to set the content for

  • content - the text to set as the content of node

Returns:

  • the node


DESCRIPTION
xmlTreeSetContent() sets the content of node to the string content.

Note that this replaces all text AND children of node with content. If you only want to replace the text, you'll need to browse to the element's text child and call xmlTreeSetContent() on that instead of on the element itself.


EXAMPLE

    <$ret = (xmlTreeSetContent($node, 'new content'))>


SEE ALSO
xmlTreeSetName, xmlTreeAddContent


Copyright © Thunderstone Software     Last updated: Mon Feb 18 10:28:15 EST 2013
 
Home   ::   Products   ::   Solutions   ::   How to Buy   ::   Support   ::   Contact Us   ::   News   ::   About
Copyright © 2013 Thunderstone Software LLC. All rights reserved.