home *** CD-ROM | disk | FTP | other *** search
- <!-- $Date:
- TEI XSLT stylesheet family version 1.2
- RCS: 2001/10/01 $, $Revision: 1.1.2.1 $, $Author: jdj $
-
- XSL HTML stylesheet to format TEI XML documents
-
- Copyright 1999-2002 Sebastian Rahtz/Oxford University <sebastian.rahtz@oucs.ox.ac.uk>
-
- Permission is hereby granted, free of charge, to any person obtaining
- a copy of this software and any associated documentation files (the
- ``Software''), to deal in the Software without restriction, including
- without limitation the rights to use, copy, modify, merge, publish,
- distribute, sublicense, and/or sell copies of the Software, and to
- permit persons to whom the Software is furnished to do so, subject to
- the following conditions:
-
- The above copyright notice and this permission notice shall be included
- in all copies or substantial portions of the Software.
-
- -->
-
- <xsl:stylesheet
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
- xmlns:fo="http://www.w3.org/1999/XSL/Format"
- xmlns:m="http://www.w3.org/1998/Math/MathML"
- >
-
- <xsl:template match="m:math">
- <m:math>
- <xsl:copy-of select="@*"/>
- <xsl:apply-templates mode="math"/>
- </m:math>
- </xsl:template>
-
- <xsl:template match="m:*|@*|comment()|processing-instruction()|text()" mode="math">
- <xsl:copy>
- <xsl:apply-templates mode="math" select="*|@*|processing-instruction()|text()"/>
- </xsl:copy>
- </xsl:template>
-
- <xsl:template match="formula" mode="header"/>
-
- <xsl:template match="formula" mode="xref">
- <xsl:number/>
- </xsl:template>
-
-
- </xsl:stylesheet>