The samples illustrate the use of the APIs by performing simple (often trivial) tasks. Their main purpose is additional documentation. They are not necessarily intended to do anything actually useful, though they may contain code worth reusing.
They are not intended to be a full tutorial in the use of these APIs. Most of that information is available elsewhere (my standard suggestion: the introductory material on http://www.ibm.com/xml, combined with the Xerces-specific information on Apache's website). If you dont' understand what the samples are doing after reading their source code, I would strongly recommend looking at some of those tutorials. ______________________________________ "... Three things see no end: A loop with exit code done wrong, A semaphore untested, And the change that comes along. ..." -- "Threes" Rev 1.1 - Duane Elms / Leslie Fish (http://www.ovff.org/pegasus/songs/threes-rev-11.html)