home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="UTF-8"?><TeXML><cmd name="documentclass"><parm>article</parm></cmd><cmd name="title"><parm>TeXML</parm></cmd><env name="document"><cmd name="maketitle"/>
- <cmd name="section*"><parm>What is TeXML?</parm></cmd>
-
- TeXML is a key component of a path to print solution for XML.
- <cmd name="par"/>
- <cmd name="subsection*"><parm>The Path to Print</parm></cmd>
-
- The path to print begins with your XML document.
- You write an XSL transform which accepts your document type
- and outputs a new XML document which conforms to the TeXML document type.
- The java program, TeXMLatte transforms any document conforming
- to the TeXML document type into TeX.
- <cmd name="par"/>
- You may now use your TeX processor to produce typeset output from XML.
- <cmd name="par"/>
- The materials provided here give several examples of XML content
- transformed to TeX.
- <cmd name="par"/>
-
- <cmd name="subsection*"><parm>The Parts of TeXML</parm></cmd>
- There are three parts to the solution:<cmd name="par"/>
- <env name="description">
- <cmd name="item"><opt>TeXML.dtd</opt></cmd>
- an XML document type definition.
-
- <cmd name="item"><opt>TeXML.java</opt></cmd>
- a program written in java which takes as
- input a DOM conforming to TeXML.dtd and outputs TeX.
-
- <cmd name="item"><opt>TeXMLatte.java</opt></cmd>
- a program written in java which takes as input
- an XML document conforming to TeXML.dtd and outputs TeX.
- The program parses the document using the XML4J parser.
- It sends the resulting DOM to a method the TeXML class.
-
- </env>
-
-
- </env></TeXML>