SGML: perlSGML: Oct 9, 1996 release
Subject: perlSGML: Oct 9, 1996 release
From: ehood@medusa.acs.uci.edu (Earl Hood)
Newsgroup: comp.text.sgml
------------------------------------------------------------------------
A new release of the perlSGML tools are available at
http://www.oac.uci.edu/indiv/ehood/perlSGML/
perlSGML is a collection of perl software for processing SGML data
(mostly DTD processing).
The most visible change is the new content hierarchy tree output
of elements in a DTD. The new format preserves all the content
model information. Examples:
|__section+)
|_(effect?, ...
|__title, ...
|__toc?, ...
|__epc-fig*,
| |_(effect?, ...
| |__figure,
| | |_(effect?, ...
| | |__title, ...
| | |__graphic+, ...
| | |__assoc-text?)
and,
D1
| {+} idx needbegin needend newline
|
|_(head,
| | {A+} idx needbegin needend newline
| | {-} needbegin needend
| |
| |_(((#PCDATA |
| |____((acro |
| | | {A+} idx needbegin needend newline
| | | {A-} needbegin needend
| | |
| | |_(((#PCDATA |
| | |____((super | ...
| | |______sub)))*)) ...
perlSGML software runs under Perl 4 and 5.
--ewh