NonStop XML Parser User Guide

3 Sample applications
The NonStop XML Parser is packaged with sample applications. You can use the sample applications
to get started with the NonStop XML Parser. These sample applications demonstrate the important
features of the parser.
You can build all the samples simultaneously or build each sample individually. However, you
must set some key environment variables before building the samples.
This section includes information about:
building and running the ICU samples
building and running the Xerces-C++ samples
NOTE: Before building the samples, copy the samples directory and sub-directories to an OSS
location where you have read, write, and execute permissions.
Building the ICU samples
The NonStop XML Parser is packaged with the following ICU samples. These samples are available
in the <ICUROOT>/samples directory, where ICUROOT is the
<NonStop_XML_Parser_Installation_Directory>/icu directory.
Sample exe filenameFunctionSample
breakDemonstrates how to use BreakIterators in C and C++break
icucalPrints out a calendarcal
caseDemonstrates how to do Unicode case conversion in C and C++case
csdetDemonstrates using ICU's CharSet Detection APIcsdet
icudatePrints out the current date, localizeddate
datefmtDemonstrates the use of the date formatting APIdatefmt
msgfmtDemonstrates the use of the message formatmsgfmt
numfmtDemonstrates the use of the number formatnumfmt
propsDemonstrates the use of Unicode propertiesprops
strsrchDemonstrates how to search for patterns in Unicode text using the usearch
interface
strsrch
translitDemonstrates the use of ICU transliterationtranslit
uciter8Demonstrates how to read 8-bit Unicode textuciter8
ucnvDemonstrates the use of ICU codepage conversionucnv
writer, readerDemonstrates the use of ICU low level data routinesudata
ufortuneDemonstrates packaging and use of resources in an applicationufortune
ugrepDemonstrates ICU regular expressionsugrep
uresbDemonstrates building and loading resource bundlesuresb
ustringDemonstrates ICU string manipulation functionsustring
Building the ICU samples 13