| 1 | <!-- saved from url=(0013)about:internet --> |
| 2 | <xsl:stylesheet |
| 3 | version="1.0" |
| 4 | xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
| 5 | xmlns:msxsl="urn:schemas-microsoft-com:xslt" |
| 6 | xmlns:fns="http://www.w3.org/2002/Math/preference" |
| 7 | xmlns:mml="http://www.w3.org/1998/Math/MathML" |
| 8 | extension-element-prefixes="msxsl fns" |
| 9 | > |
| 10 | |
| 11 | <!-- |
| 12 | Copyright David Carlisle 2001, 2002. |
| 13 | |
| 14 | Use and distribution of this code are permitted under the terms of the <a |
| 15 | href="http://www.w3.org/Consortium/Legal/copyright-software-19980720" |
| 16 | >W3C Software Notice and License</a>. |
| 17 | --> |
| 18 | |
| 19 | <xsl:include href="ctop.xsl"/> |
| 20 | <xsl:include href="pmathml.xsl"/> |
| 21 | |
| 22 | <xsl:output/> |
| 23 | |
| 24 | <xsl:template match="/"> |
| 25 | <xsl:choose> |
| 26 | <xsl:when test="system-property('xsl:vendor')='Transformiix'"> |
| 27 | <xsl:apply-templates mode="c2p"/> |
| 28 | </xsl:when> |
| 29 | <!-- not working, currently |
| 30 | <xsl:when test="system-property('xsl:vendor')='Microsoft' and /*/@fns:renderer='css'"> |
| 31 | <xsl:variable name="pmml"> |
| 32 | <xsl:apply-templates mode="c2p"/> |
| 33 | </xsl:variable> |
| 34 | <xsl:apply-templates select="msxsl:node-set($pmml)/node()"/> |
| 35 | </xsl:when> |
| 36 | --> |
| 37 | <xsl:otherwise> |
| 38 | <xsl:apply-templates/> |
| 39 | </xsl:otherwise> |
| 40 | </xsl:choose> |
| 41 | </xsl:template> |
| 42 | </xsl:stylesheet> |