= V5 MultiLine NoSorting TabWidth=30
H=";XML Tools"
H="Parse"
^!CLOSE c:\etext\errors\error.txt DISCARD
^!dos c:\etext\batch\xmlint.bat ^**
^!WAIT
^!open c:\etext\errors\error.txt
H="Transform to HTML (combine XML and XSL to make an HTML file)"
;^!Set %docname%=
^!Set %docname%=^?{XML document name=^%docname%};%xslname%=^?{XSL name=^%xslname%}
^!Set %xmlfile%=^?{XML file=c:\etext\document\^%docname%.xml};%xslfile%=^?{XSL file=c:\etext\document\^%xslname%.xsl};%htmlfile%=^?{HTML file=c:\etext\document\^%docname%.html}
^!CLOSE c:\etext\document\^%docname%.html DISCARD
^!dos c:\etext\batch\x.bat ^%xmlfile% ^%xslfile% ^%htmlfile%
^!WAIT
^!open ^%htmlfile%
H=";"
H="Transform to Formatting Objects (FO)"
^!Set %docname%=^?{XML document name=^%docname%};%xslname%=^?{XSL name=^%xslname%}
^!Set %xmlfile%=^?{XML file=c:\etext\document\^%docname%.xml};%xslfile%=^?{XSL file=c:\etext\document\^%xslname%.xsl};%fofile%=^?{FO file=c:\etext\document\^%docname%.fo}
^!CLOSE c:\etext\document\^%docname%.fo DISCARD
^!dos c:\etext\batch\saxon.bat ^%fofile% ^%xmlfile% ^%xslfile%
^!WAIT
^!open ^%fofile%
H="FO to PDF"
^!Set %docname%=^?{FO document name=^%docname%}
^!Set %foname%=^?{FO file=c:\etext\document\^%docname%.fo};%pdfname%=^?{PDF file=c:\etext\document\^%docname%.pdf}
;^!CLOSE c:\etext\document\^%docname%.pdf DISCARD
^!dos c:\etext\batch\fop.bat ^%foname% ^%pdfname%
^!WAIT
;^!open ^%pdffile%
H=";"
H=";"
H=";XML outer wrapper and DTD declaration"
A basic XML DTD declaration, along with an example of how to declare images and the five most common sets of ISO "special character" lists
H=";"
H="xsl stylesheet declaration"
H="TEIXLITE"
%ISOlat1;
%ISOlat2;
%ISOnum;
%ISOpub;
%ISOtech; ]>
^&
H=";"
H=";Metadata (cataloging) Section"
A TEI file is divided into a teiHeader and a text. Here is a very basic metaata header (a given project may well need something more sophisticated than this). This header allows one to describe information about the title, author, publisher, and rights management of the electronic file, the unique ID for the work (often the file name), and the bibliographic information for the print or manuscript source.
H="teiHeader template"
H=";"
H=";Text section"
The second major section of a TEI file (after the teiHeader). The must contain a and optionally can contain a and a .
H="text"
^&
H=";"
H=";Front matter (optional major subdivision of a text)"
Contains prefatory material, such as a title page transcription, a table of contents, a summary note,
a preface, etc.
H="front"
^&
H=";"
H=";EAD-style summary for front matter"
H="EAD summary div1"
pp.
H=";"
H=";"
H=";Main body of text (mandatory major subdivision of a text)"
The main part of the work itself -- contains the novel, play, etc.
H="body"
^&
H=";"
H=";Back matter (optional major subdivision of a text)"
Material that comes after the main work, such as indices, bibliographies, notes, appendices, printer's advertisements, etc.
H="back"
^&
H=";"
H=";Numbered divisions (for front, body, and back)"
H="div1"
^&
H="div2"
^&
H="div3"
^&
H="div4"
^&
H="div5"
^&
H="div6"
^&
H="div7"
^&
H="div8"
^&
H=";"
H=";Headers (for divs, figures, line groups, etc)"
This is the "title" of the division or section.
H="head"
^&
H=";"
H=";Illustrations (figure tag for line art, book illustrations, etc)"
H="figure"
H=";"
H=";Page Layout "
These elements are used for basic page features
H="paragraph"
^&
H="Line break"
H="Page break"
H="column break"
H="folio marker"
H="other segments"
^&
H=";"
H=";Quotations and Citations"
H="quotation"
^&
H="citation"
^&
H=";"
H=";Basic bibliographic reference"
H="bibl"
^&
H=";"
H=";Full bibliographic reference"
H="biblFull"
^&
H=";"
H=";Author, title, publisher information"
H="author"
^&
H="title"
^&
H="publisher"
^&
H="place of publication"
^&
H="date of publication"
^&
H=";"
H=";Letters and Diaries"
These elements are used for basic letter features. A typical letter has an "opener" containing date, place, sender, recipient, and salutation information; a "closer" containing the potentially the same, plus a signature and perhaps a postscript; and a series of paragraphs between the opener and closer than constitute the letter.
H="opener"
^&
H="dateline (contains date and name information)"
^&
H="date"
^&
H="name (sender, recipient, place)"
^&
H="salute"
^&
H="closer"
^&
H="signed"
^&
H="postscript"
^&
H=";"
H=";Transcriptions"
These elements are used for basic page features
H="orig"
^&
H="corr"
^&
H="sic"
^&
H="abbreviation"
^&
H="add"
^&
H="del"
^&
H="unclear"
^&
H="epigraph"
^&
H=";"
H=";Annotations"
H="note target"
^&
H="note id"
^&
H=";"
H=";List Elements"
H="list with x number of items"
^&
^$RemoveTokens(^$StrFill(" ^P";^?[How many
items?=1|2|_3|4|5|6|7|8|9])$)$
H="Comment"
H="Emphasis"
^&
H=";"
H=";Character Formatting"
H="Bold"
^&
H="Italic"
^&
H="Smallcaps"
^&
H="Subscript"
^&
H="Superscript"
^&
H="Underline"
^&
H=";"
H=";Table Elements"
Table elements with tags to define rows and cells
H="table outer wrapper"