Rational Developer for System z
COBOL for Windows, Version 7.5, Programming Guide


The content of XML-TEXT and XML-NTEXT

The special registers XML-TEXT and XML-NTEXT are mutually exclusive. When the parser sets XML-TEXT, XML-NTEXT is undefined (length 0). When the parser sets XML-NTEXT, XML-TEXT is undefined (length 0).

The type of the XML PARSE identifier determines which of these two special registers is set, except for the ATTRIBUTE-NATIONAL-CHARACTER and CONTENT-NATIONAL-CHARACTER events. For these two events, XML-NTEXT is set regardless of the data item that you specify as the XML PARSE identifier.

To determine how many national characters XML-NTEXT contains, use the LENGTH function. LENGTH OF XML-NTEXT contains the number of bytes, rather than characters, used by XML-NTEXT.

related concepts
The content of XML-CODE

related tasks
Writing procedures to process XML

related references
XML-NTEXT (COBOL for Windows Language Reference)
XML-TEXT (COBOL for Windows Language Reference)


Terms of use | Feedback

Copyright IBM Corporation 1996, 2008.
This information center is powered by Eclipse technology. (http://www.eclipse.org)