diff options
Diffstat (limited to 'tests/XSLTMark/dbsql500.xsl')
-rw-r--r-- | tests/XSLTMark/dbsql500.xsl | 135 |
1 files changed, 0 insertions, 135 deletions
diff --git a/tests/XSLTMark/dbsql500.xsl b/tests/XSLTMark/dbsql500.xsl deleted file mode 100644 index c2179648..00000000 --- a/tests/XSLTMark/dbsql500.xsl +++ /dev/null @@ -1,135 +0,0 @@ -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> - -<xsl:template match="table"> - <document> - <!-- select * from table where id = ... --> - <xsl:apply-templates select="row[id=3]"/> - <xsl:apply-templates select="row[id=13]"/> - <xsl:apply-templates select="row[id=23]"/> - <xsl:apply-templates select="row[id=33]"/> - <xsl:apply-templates select="row[id=43]"/> - <xsl:apply-templates select="row[id=53]"/> - <xsl:apply-templates select="row[id=63]"/> - <xsl:apply-templates select="row[id=73]"/> - <xsl:apply-templates select="row[id=83]"/> - <xsl:apply-templates select="row[id=93]"/> - <xsl:apply-templates select="row[id=103]"/> - <xsl:apply-templates select="row[id=113]"/> - <xsl:apply-templates select="row[id=123]"/> - <xsl:apply-templates select="row[id=133]"/> - <xsl:apply-templates select="row[id=143]"/> - <xsl:apply-templates select="row[id=153]"/> - <xsl:apply-templates select="row[id=163]"/> - <xsl:apply-templates select="row[id=173]"/> - <xsl:apply-templates select="row[id=183]"/> - <xsl:apply-templates select="row[id=193]"/> - <xsl:apply-templates select="row[id=203]"/> - <xsl:apply-templates select="row[id=213]"/> - <xsl:apply-templates select="row[id=223]"/> - <xsl:apply-templates select="row[id=233]"/> - <xsl:apply-templates select="row[id=243]"/> - <xsl:apply-templates select="row[id=253]"/> - <xsl:apply-templates select="row[id=263]"/> - <xsl:apply-templates select="row[id=273]"/> - <xsl:apply-templates select="row[id=283]"/> - <xsl:apply-templates select="row[id=293]"/> - <xsl:apply-templates select="row[id=303]"/> - <xsl:apply-templates select="row[id=313]"/> - <xsl:apply-templates select="row[id=323]"/> - <xsl:apply-templates select="row[id=333]"/> - <xsl:apply-templates select="row[id=343]"/> - <xsl:apply-templates select="row[id=353]"/> - <xsl:apply-templates select="row[id=363]"/> - <xsl:apply-templates select="row[id=373]"/> - <xsl:apply-templates select="row[id=383]"/> - <xsl:apply-templates select="row[id=393]"/> - <xsl:apply-templates select="row[id=403]"/> - <xsl:apply-templates select="row[id=413]"/> - <xsl:apply-templates select="row[id=423]"/> - <xsl:apply-templates select="row[id=433]"/> - <xsl:apply-templates select="row[id=443]"/> - <xsl:apply-templates select="row[id=453]"/> - <xsl:apply-templates select="row[id=463]"/> - <xsl:apply-templates select="row[id=473]"/> - <xsl:apply-templates select="row[id=483]"/> - <xsl:apply-templates select="row[id=493]"/> - <!-- select * from table where id > ... and id < ... --> - <xsl:apply-templates select="row[id>4 and id<8]"/> - <xsl:apply-templates select="row[id>14 and id<18]"/> - <xsl:apply-templates select="row[id>24 and id<28]"/> - <xsl:apply-templates select="row[id>34 and id<38]"/> - <xsl:apply-templates select="row[id>44 and id<48]"/> - <xsl:apply-templates select="row[id>54 and id<58]"/> - <xsl:apply-templates select="row[id>64 and id<68]"/> - <xsl:apply-templates select="row[id>74 and id<78]"/> - <xsl:apply-templates select="row[id>84 and id<88]"/> - <xsl:apply-templates select="row[id>94 and id<98]"/> - <xsl:apply-templates select="row[id>104 and id<108]"/> - <xsl:apply-templates select="row[id>114 and id<118]"/> - <xsl:apply-templates select="row[id>124 and id<128]"/> - <xsl:apply-templates select="row[id>134 and id<138]"/> - <xsl:apply-templates select="row[id>144 and id<148]"/> - <xsl:apply-templates select="row[id>154 and id<158]"/> - <xsl:apply-templates select="row[id>164 and id<168]"/> - <xsl:apply-templates select="row[id>174 and id<178]"/> - <xsl:apply-templates select="row[id>184 and id<188]"/> - <xsl:apply-templates select="row[id>194 and id<198]"/> - <xsl:apply-templates select="row[id>204 and id<208]"/> - <xsl:apply-templates select="row[id>214 and id<218]"/> - <xsl:apply-templates select="row[id>224 and id<228]"/> - <xsl:apply-templates select="row[id>234 and id<238]"/> - <xsl:apply-templates select="row[id>244 and id<248]"/> - <xsl:apply-templates select="row[id>254 and id<258]"/> - <xsl:apply-templates select="row[id>264 and id<268]"/> - <xsl:apply-templates select="row[id>274 and id<278]"/> - <xsl:apply-templates select="row[id>284 and id<288]"/> - <xsl:apply-templates select="row[id>294 and id<298]"/> - <xsl:apply-templates select="row[id>304 and id<308]"/> - <xsl:apply-templates select="row[id>314 and id<318]"/> - <xsl:apply-templates select="row[id>324 and id<328]"/> - <xsl:apply-templates select="row[id>334 and id<338]"/> - <xsl:apply-templates select="row[id>344 and id<348]"/> - <xsl:apply-templates select="row[id>354 and id<358]"/> - <xsl:apply-templates select="row[id>364 and id<368]"/> - <xsl:apply-templates select="row[id>374 and id<378]"/> - <xsl:apply-templates select="row[id>384 and id<388]"/> - <xsl:apply-templates select="row[id>394 and id<398]"/> - <xsl:apply-templates select="row[id>404 and id<408]"/> - <xsl:apply-templates select="row[id>414 and id<418]"/> - <xsl:apply-templates select="row[id>424 and id<428]"/> - <xsl:apply-templates select="row[id>434 and id<438]"/> - <xsl:apply-templates select="row[id>444 and id<448]"/> - <xsl:apply-templates select="row[id>454 and id<458]"/> - <xsl:apply-templates select="row[id>464 and id<468]"/> - <xsl:apply-templates select="row[id>474 and id<478]"/> - <xsl:apply-templates select="row[id>484 and id<488]"/> - <xsl:apply-templates select="row[id>494 and id<498]"/> - <!-- select * from table where firstname = 'Bob' --> - <xsl:apply-templates select="row[firstname='Bob']"/> - <!-- select firstname, lastname from table where id=... --> - <xsl:for-each select="row[id mod 10 = 9]"> - <xsl:apply-templates select="firstname"/> - <xsl:apply-templates select="lastname"/> - </xsl:for-each> - </document> -</xsl:template> - -<xsl:template match="row"> - <xsl:apply-templates select="id"/> - <xsl:apply-templates select="firstname"/> - <xsl:apply-templates select="lastname"/> - <xsl:apply-templates select="street"/> - <xsl:apply-templates select="city"/> - <xsl:apply-templates select="state"/> - <xsl:apply-templates select="zip"/> - <xsl:text>
</xsl:text> -</xsl:template> - -<xsl:template match="id|firstname|lastname|street|city|state|zip"> - <xsl:value-of select="name(.)"/> - <xsl:text>=</xsl:text> - <xsl:value-of select="."/> - <xsl:text>
</xsl:text> -</xsl:template> - -</xsl:stylesheet> |