xmlTreeIsBlankNode

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: Oct 24 2023
Copyright © 2024 Thunderstone Software LLC. All rights reserved.