SYNOPSISint xmlTreeIsBlankNode(xmlNode node)
Parameters:
node
- the xmlNode
in question
Returns:
0
- the node
is not a blank text node1
- the node
is a blank text node
DESCRIPTIONxmlTreeIsBlankNode()
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:
EXAMPLE<$ret = (xmlTreeIsBlankNode($node))>
SEE ALSOxmlTreeGetName
,
xmlTreeGetContent
,
xmlTreeGetAllContent
,
xmlTreeGetLine
,
xmlTreeGetType
,
xmlTreeGetAttributeContent