|
SYNOPSIS
int xmlTreeIsBlankNode(xmlNode node)
Parameters:
-
node - the xmlNode in question
Returns:
-
0 - the node is not a blank text node -
1 - the node is a blank text node
DESCRIPTION
xmlTreeIsBlankNode() tells you whether the node is a blank text
node. The only time this returns 1 is if node is either
a text or a CDATA node, and only contains whitespace (as defined by
the XML spec), which consists of:
- space (0x20)
- horizontal tab (0x09)
- newlines (0x0A or 0x0D)
EXAMPLE
<$ret = (xmlTreeIsBlankNode($node))>
SEE ALSO
xmlTreeGetName,
xmlTreeGetContent,
xmlTreeGetAllContent,
xmlTreeGetLine,
xmlTreeGetType,
xmlTreeGetAttributeContent
Copyright © Thunderstone Software Last updated: Mon Feb 18 10:28:15 EST 2013
|