string xmlTreeGetAllContent(xmlNode node)
xmlNodeto get content from
nodeand all children
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>
xmlTreeGetAllContent() on the
<div> will give you
This has emphasis in its text.
xmlTreeGetContent() would return
This has in its text.
<$content = (xmlTreeGetAllContent($node))>