TeXML and XSL
- From: conrad.ammon@xxxxxxxxx
- Date: 29 Jun 2006 18:40:38 -0700
Has anyone taken a look at using XSL to give needed functionality to
TeXML?
TeXML on the level of TeX... on its own its not too useful. However,
XSL was specifically designed for doing markup, similar to the macros
of LaTeX. Is there a good set of XSL scripts that anyone has written?
Example:
<cmd name="usepackage">
<parm>ieeetsp</parm>
</cmd>
This seems kind of silly to me. Its verbose, and the XML does not
describe the information any more than just straight TeX would.
Meanwhile:
<use-package name="ieeetsp" />
Has real meaning. And the XSL:
<xsl:template match="use-package">
<cmd name="usepackage">
<param><xsl:value-of select="@name"/></param>
</cmd>
</xsl:template>
Hopefully one notices the paralells of this use of XSL with those of
the macros found in LaTeX, or in .cls files. As well, the XML can have
namespaces, so <ams:equatinon> does not conflict with <equation>
(uinless the underlying TeX has an unavoidable conflict. I am a
newcommer to TeX, my experiance is with XML)
This can be abstracted to any level people please. At the very least,
sections and subsections can be defined by nesting tags.
I did a quick search of the newsgroup for XML, didn't find anything
regarding this... did I miss a post?
.
- Follow-Ups:
- Re: TeXML and XSL
- From: Ken Starks
- Re: TeXML and XSL
- Prev by Date: TeXLive and GS 8.54 Incompatible?
- Next by Date: Re: TeXLive and GS 8.54 Incompatible?
- Previous by thread: TeXLive and GS 8.54 Incompatible?
- Next by thread: Re: TeXML and XSL
- Index(es):
Relevant Pages
|