| Skip over navigation 
 Rationale
 Download
 APEX
  Article
  Examples 
  PythonPoint
 ATTS
 Links
 Old News
| Examples
Most of the APEX examples in apex/examples/ can
be run using the apex/examples/build.xml Ant build file. The
only example which cannot be run using Ant is the PythonPoint example.
Invoking the ant command without any arguments from
the apex/examples directory runs all examples and
produces output describing tasks being performed and files being
created. ant clean deletes all files created when
running the examples.
Note
The Ant output does not describe the goals or rationale for the
examples. To obtain this information, look at the
README.txt files in each of the
apex/examples/ subdirectories.
Many of the example data files are processed not directly using APEX,
but rather with a stylesheet that imports
apex.xsl and adds a DOCTYPE specifying the
architecture's DTD's system identifier to the result. This is done so
that the result can be validated with respect to the architecture's
DTD.
If you do not have Ant installed, or if for some other reason you want
to run the examples by hand, here are instructions for processing each
data file individually.
- catalog\widgetset.xml
Apply APEX customization catalog\catalog.xsl with parameters: - catalog\nauto.xml
Apply APEX customization catalog\catalog.xsl with parameters: name = "catalog" auto = "nArcAuto"
- catalog\nignore.xml
Apply APEX customization catalog\catalog.xsl with parameters: - catalog\rich-text.xml
Apply APEX customization catalog\catalog.xsl with parameters: name = "catalog" auto = "nArcAuto"
- catalog\suppress.xml
Apply APEX customization catalog\catalog.xsl with parameters:
- customization\art.xml
Apply APEX customization customization\art.xsl with parameters: name = "inv" auto = "nArcAuto"
- psl\idef3.xml
Apply APEX customization psl\pslcore.xsl with parameters: - psl\idef3.xml
Apply APEX customization psl\actoccur.xsl with parameters:
Apply ATTS stylesheet to schema\ipo.rng, and save the result in schema\ipo.xsl. Apply schema\ipo.xsl to schema\ipo.xml, and save the result in schema\ipo-normalized.xml. Apply APEX stylesheet to schema\ipo-normalized.xml with parameters:
- xaf\simple.xml
Apply APEX stylesheet with parameters: name = "biblio" auto = "nArcAuto"
- xaf\auto-implied.xml
Apply APEX stylesheet with parameters: name = "html" auto = "ArcAuto"
- xaf\ignore.xml
Apply APEX stylesheet with parameters: - xaf\renamer.xml
Apply APEX stylesheet with parameters: - xaf\suppress.xml
Apply APEX stylesheet with parameters:
|