|
3 | 3 | xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
4 | 4 | xmlns:ce="http://www.elsevier.com/xml/common/dtd" |
5 | 5 | xmlns:cals="http://www.elsevier.com/xml/common/cals/dtd" |
6 | | - exclude-result-prefixes="ce cals"> |
| 6 | + xmlns:tb="http://www.elsevier.com/xml/common/table/dtd" |
| 7 | + exclude-result-prefixes="ce cals tb"> |
7 | 8 |
|
8 | 9 | <xsl:output method="xml" indent="no" encoding="UTF-8"/> |
9 | 10 | <xsl:strip-space elements="*"/> |
|
36 | 37 | </original-table> |
37 | 38 | <transformed-table> |
38 | 39 | <table> |
39 | | - <xsl:apply-templates select="cals:tgroup" mode="html"/> |
| 40 | + <xsl:apply-templates select="cals:tgroup | ce:tgroup | tb:tgroup" mode="html"/> |
40 | 41 | </table> |
41 | 42 | </transformed-table> |
42 | 43 | </extracted-table> |
43 | 44 | </xsl:template> |
44 | 45 |
|
45 | | - <xsl:template match="cals:tgroup" mode="html"> |
46 | | - <xsl:apply-templates select="cals:thead" mode="html"/> |
47 | | - <xsl:apply-templates select="cals:tbody" mode="html"/> |
48 | | - <xsl:apply-templates select="cals:tfoot" mode="html"/> |
| 46 | + <xsl:template match="cals:tgroup | ce:tgroup | tb:tgroup" mode="html"> |
| 47 | + <xsl:apply-templates select="cals:thead | ce:thead | tb:thead" mode="html"/> |
| 48 | + <xsl:apply-templates select="cals:tbody | ce:tbody | tb:tbody" mode="html"/> |
| 49 | + <xsl:apply-templates select="cals:tfoot | ce:tfoot | tb:tfoot" mode="html"/> |
49 | 50 | </xsl:template> |
50 | 51 |
|
51 | | - <xsl:template match="cals:thead" mode="html"> |
| 52 | + <xsl:template match="cals:thead | ce:thead | tb:thead" mode="html"> |
52 | 53 | <thead> |
53 | | - <xsl:apply-templates select="cals:row" mode="html"/> |
| 54 | + <xsl:apply-templates select="cals:row | ce:row | tb:row" mode="html"/> |
54 | 55 | </thead> |
55 | 56 | </xsl:template> |
56 | 57 |
|
57 | | - <xsl:template match="cals:tbody" mode="html"> |
| 58 | + <xsl:template match="cals:tbody | ce:tbody | tb:tbody" mode="html"> |
58 | 59 | <tbody> |
59 | | - <xsl:apply-templates select="cals:row" mode="html"/> |
| 60 | + <xsl:apply-templates select="cals:row | ce:row | tb:row" mode="html"/> |
60 | 61 | </tbody> |
61 | 62 | </xsl:template> |
62 | 63 |
|
63 | | - <xsl:template match="cals:tfoot" mode="html"> |
| 64 | + <xsl:template match="cals:tfoot | ce:tfoot | tb:tfoot" mode="html"> |
64 | 65 | <tfoot> |
65 | | - <xsl:apply-templates select="cals:row" mode="html"/> |
| 66 | + <xsl:apply-templates select="cals:row | ce:row | tb:row" mode="html"/> |
66 | 67 | </tfoot> |
67 | 68 | </xsl:template> |
68 | 69 |
|
69 | | - <xsl:template match="cals:row" mode="html"> |
| 70 | + <xsl:template match="cals:row | ce:row | tb:row" mode="html"> |
70 | 71 | <tr> |
71 | | - <xsl:apply-templates select="cals:entry" mode="html"/> |
| 72 | + <xsl:apply-templates select="cals:entry | ce:entry | tb:entry" mode="html"/> |
72 | 73 | </tr> |
73 | 74 | </xsl:template> |
74 | 75 |
|
75 | | - <xsl:template match="cals:entry" mode="html"> |
| 76 | + <xsl:template match="cals:entry | ce:entry | tb:entry" mode="html"> |
76 | 77 | <xsl:variable name="namest" select="@namest"/> |
77 | 78 | <xsl:variable name="nameend" select="@nameend"/> |
78 | 79 | <xsl:variable name="morerows" select="@morerows"/> |
|
0 commit comments