A set of JAXP sample programs is provided in the JAXP download bundle that is available from https://jaxp.dev.java.net/. After you install JAXP, the sample programs are found in the directory INSTALL_DIR/jaxp-version/samples.
The sample programs are intended to be run on the Java Platform, Standard Edition (Java SE) version 6 or later.