
xml.dtbook2005-3-to-zedai.xpl Maven / Gradle / Ivy
The newest version!
Transforms DTBook 2005-3 XML into ZedAI XML. Part of the DTBook-to-ZedAI module.
Preprocess certain inline elements by making them into spans. This streamlines
the number of transformation cases that need to be dealt with later.
Identify block-level code/kbd elements vs phrase-level
Identify block-level annotation elements vs phrase-level
Convert br to ln
Group items in definition lists
Normalize imggroup element placement to suit ZedAI's content
model.
Normalize list element placement to suit ZedAI's content
model.
Normalize definition list element placement to suit ZedAI's content
model.
Normalize prodnote element placement to suit ZedAI's content
model.
Normalize div element placement to suit ZedAI's content
model.
Normalize poem element placement to suit ZedAI's content
model.
Normalize linegroup element placement to suit ZedAI's content
model.
Normalize table element placement to suit ZedAI's content
model.
Normalize sidebar element placement to suit ZedAI's content
model.
Normalize note element placement to suit ZedAI's content
model.
Normalize epigraph element placement to suit ZedAI's content
model.
Normalize block-level annotation element placement to suit ZedAI's content
model.
Normalize block-level code element placement to suit ZedAI's content
model.
Normalize mixed block/inline content models by ensuring the content consists of
all block or all inline elements.
Normalize mixed section/block content models by ensuring the content consists
of all section or all block elements.
Translate element and attribute names from DTBook to ZedAI
Anchor any floating anotations