ELEMENT title WHEN [IN chapter]
on start {...actions...}
on end {...actions...}
A part of the parse tree is kept in memory as an ESIS tree that is a part of parse tree. The ESIS tree consists of the ancestors of a node till the root of the tree and the previous siblings of these ancestors. The ESIS trees allow the processing of a document and the conversion in an arbitrary order. A library of tree manipulation functions is included.
element A {
start {
actions
}
end {
actions
}
}
document
title
author
date
chapter
section
para
creates a draft DTD for further manipulation. The program handles also attributes and entities.