home *** CD-ROM | disk | FTP | other *** search
/ Internet Magazine 2003 October / INTERNET108.ISO / pc / software / windows / building / xmlspy / xmlspyentcomplete5.exe / Data1.cab / _6C20A96CCC4C46F2886308BD19BBFC07 < prev    next >
Encoding:
Text File  |  2002-10-21  |  1.5 KB  |  48 lines

  1. <!-- $Date: 
  2. TEI XSLT stylesheet family version 1.2
  3. RCS: 2001/10/01 $, $Revision: 1.1.2.1 $, $Author: jdj $
  4.  
  5. XSL HTML stylesheet to format TEI XML documents 
  6.  
  7.  Copyright 1999-2002 Sebastian Rahtz/Oxford University  <sebastian.rahtz@oucs.ox.ac.uk>
  8.  
  9.  Permission is hereby granted, free of charge, to any person obtaining
  10.  a copy of this software and any associated documentation files (the
  11.  ``Software''), to deal in the Software without restriction, including
  12.  without limitation the rights to use, copy, modify, merge, publish,
  13.  distribute, sublicense, and/or sell copies of the Software, and to
  14.  permit persons to whom the Software is furnished to do so, subject to
  15.  the following conditions:
  16.  
  17.  The above copyright notice and this permission notice shall be included
  18.  in all copies or substantial portions of the Software.
  19.  
  20. -->
  21.  
  22. <xsl:stylesheet
  23.   xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
  24.   xmlns:fo="http://www.w3.org/1999/XSL/Format"
  25.   xmlns:m="http://www.w3.org/1998/Math/MathML" 
  26.   >
  27.  
  28. <xsl:template match="m:math">
  29.  <m:math>
  30.   <xsl:copy-of select="@*"/>
  31.   <xsl:apply-templates mode="math"/>
  32.  </m:math>
  33. </xsl:template>
  34.  
  35. <xsl:template match="m:*|@*|comment()|processing-instruction()|text()" mode="math">
  36.  <xsl:copy>
  37.    <xsl:apply-templates mode="math" select="*|@*|processing-instruction()|text()"/>
  38.  </xsl:copy>
  39. </xsl:template>
  40.  
  41. <xsl:template match="formula" mode="header"/>
  42.  
  43. <xsl:template match="formula" mode="xref">
  44.  <xsl:number/>
  45. </xsl:template>
  46.  
  47.  
  48. </xsl:stylesheet>