Try OpenEdge Now
skip to main content
Working with XML
Reading XML Documents with the Simple API for XML (SAX) : SAX API reference : SAX callback reference : IgnorableWhitespace
 
IgnorableWhitespace
Invoked when the XML parser detects ignorable whitespace.

Syntax

PROCEDURE IgnorableWhitespace:
DEFINE INPUT PARAMETER charData AS CHARACTER.
DEFINE INPUT PARAMETER numChars AS INTEGER.
charData
A CHARACTER string representing a contiguous block of ignorable whitespace in an XML document.
numChars
An INTEGER expression indicating the size, in characters, of the character string.
If validation is enabled, the XML parser reports ignorable whitespace through this callback. If validation is not enabled, the XML parser reports whitespace through the Characters callback.
The data type of charData is CHARACTER, not MEMPTR, because it is unlikely that an XML document has over 32K of contiguous ignorable whitespace.