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

xmlTreeGetAllContent

 

SYNOPSIS

    string xmlTreeGetAllContent(xmlNode node)

Parameters:

  • node - the xmlNode to get content from

Returns:

  • The text value of node and all children


DESCRIPTION
xmlTreeGetAllContent() gives the entire contents of this node and its children nodes (if they exist). This is in contrast to xmlTreeGetContent(), which only returns the text of the element, not its children.

xmlTreeGetAllContent() can be handy for things like HTML data:

<div>This has <i>emphasis</i> in its text.</div>

Calling xmlTreeGetAllContent() on the <div> will give you

This has emphasis in its text.

where as xmlTreeGetContent() would return

This has in its text.


EXAMPLE

    <$content = (xmlTreeGetAllContent($node))>


SEE ALSO
xmlTreeDumpNode, xmlTreeGetName, xmlTreeGetContent, xmlTreeGetLine, xmlTreeGetType, xmlTreeIsBlankNode, xmlTreeGetAttributeContent


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.