ILE COBOL Programmer's Guide

Parsing documents in other code pages

You can parse XML documents that are encoded in code pages other than the explicitly supported single-byte code pages by converting them to Unicode UCS-2 in a national data item, using the MOVE statement. You can then convert the individual pieces of document text passed to your processing procedure in special register XML-NTEXT back to the original code page as necessary, using the MOVE statement.

related references
Coded character sets for XML documents (ILE COBOL Language Reference)


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]