SAX (Simple API for for XML) Examples
Hint: if you wish to look at the ooRexx code with syntax highlighting, then you can
use the free and open-source editor "[g]vim"
, which is available for practically
all platforms and can be downloaded from its homepage at
http://www.vim.org/.
- . <directory> (List of this directory)
- Display all of this directory's files and directories.
- .. <directory> (List of parent directory)
- Display all of the parent directory's files and directories.
- readme.txt
- Explains briefly how to invoke each script.
- 01_getText.rex
- Script to extract text from an XML file.
- 02_getText.rex
- Script to extract text from an XML file, suppressing duplicate empty lines.
- 03_listElementNames.rxj
- Script dumping the element names in document order.
- 04_listElementNamesIndented.rxj
- Script dumping the element names in document order, indenting output according to nesting level.
- 05_listElementNamesIndentedWithAttributes.rxj
- Same as
04_listElementNamesIndented.rxj
and in addition dumping attributes, if any defined with an element.
- 06_listElementNamesIndentedWithAttributes_DOES_NOT_USE_DTD.rxj
- Same as
05_listElementNamesIndentedWithAttributes.rxj
, but without
validation (ignores any DTD).
- 07_listElementNamesAsTree.rxj
- Displays elements in a graphical (hierarchical) tree.
Rony G. Flatscher, 2010-08-22, Wien/Vienna, Austria, Europe