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