summaryrefslogtreecommitdiff
path: root/tests/XSLTMark/dbsql500.xsl
diff options
context:
space:
mode:
authorMyoungJune Park <mj2004.park@samsung.com>2016-06-29 14:28:51 +0900
committerMyoungJune Park <mj2004.park@samsung.com>2016-06-29 14:29:13 +0900
commit8737843a4d457b79d3c6abbc17fbf97b81a8861e (patch)
tree6229a8587d64a3a76c297f63d3eead8ffb51a14d /tests/XSLTMark/dbsql500.xsl
parentc3bb6b2f10204be6970bfbaa50f9e96e184d505f (diff)
parentc582450a479ff157cf79aed26b6b08e867ff3832 (diff)
downloadlibxslt-8737843a4d457b79d3c6abbc17fbf97b81a8861e.tar.gz
libxslt-8737843a4d457b79d3c6abbc17fbf97b81a8861e.tar.bz2
libxslt-8737843a4d457b79d3c6abbc17fbf97b81a8861e.zip
Merge branch 'tizen_base' into tizen
Change-Id: I412621219c0ed82145d1a03b5bbe474646fcf0ef Signed-off-by: MyoungJune Park <mj2004.park@samsung.com>
Diffstat (limited to 'tests/XSLTMark/dbsql500.xsl')
-rw-r--r--tests/XSLTMark/dbsql500.xsl135
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&gt;4 and id&lt;8]"/>
- <xsl:apply-templates select="row[id&gt;14 and id&lt;18]"/>
- <xsl:apply-templates select="row[id&gt;24 and id&lt;28]"/>
- <xsl:apply-templates select="row[id&gt;34 and id&lt;38]"/>
- <xsl:apply-templates select="row[id&gt;44 and id&lt;48]"/>
- <xsl:apply-templates select="row[id&gt;54 and id&lt;58]"/>
- <xsl:apply-templates select="row[id&gt;64 and id&lt;68]"/>
- <xsl:apply-templates select="row[id&gt;74 and id&lt;78]"/>
- <xsl:apply-templates select="row[id&gt;84 and id&lt;88]"/>
- <xsl:apply-templates select="row[id&gt;94 and id&lt;98]"/>
- <xsl:apply-templates select="row[id&gt;104 and id&lt;108]"/>
- <xsl:apply-templates select="row[id&gt;114 and id&lt;118]"/>
- <xsl:apply-templates select="row[id&gt;124 and id&lt;128]"/>
- <xsl:apply-templates select="row[id&gt;134 and id&lt;138]"/>
- <xsl:apply-templates select="row[id&gt;144 and id&lt;148]"/>
- <xsl:apply-templates select="row[id&gt;154 and id&lt;158]"/>
- <xsl:apply-templates select="row[id&gt;164 and id&lt;168]"/>
- <xsl:apply-templates select="row[id&gt;174 and id&lt;178]"/>
- <xsl:apply-templates select="row[id&gt;184 and id&lt;188]"/>
- <xsl:apply-templates select="row[id&gt;194 and id&lt;198]"/>
- <xsl:apply-templates select="row[id&gt;204 and id&lt;208]"/>
- <xsl:apply-templates select="row[id&gt;214 and id&lt;218]"/>
- <xsl:apply-templates select="row[id&gt;224 and id&lt;228]"/>
- <xsl:apply-templates select="row[id&gt;234 and id&lt;238]"/>
- <xsl:apply-templates select="row[id&gt;244 and id&lt;248]"/>
- <xsl:apply-templates select="row[id&gt;254 and id&lt;258]"/>
- <xsl:apply-templates select="row[id&gt;264 and id&lt;268]"/>
- <xsl:apply-templates select="row[id&gt;274 and id&lt;278]"/>
- <xsl:apply-templates select="row[id&gt;284 and id&lt;288]"/>
- <xsl:apply-templates select="row[id&gt;294 and id&lt;298]"/>
- <xsl:apply-templates select="row[id&gt;304 and id&lt;308]"/>
- <xsl:apply-templates select="row[id&gt;314 and id&lt;318]"/>
- <xsl:apply-templates select="row[id&gt;324 and id&lt;328]"/>
- <xsl:apply-templates select="row[id&gt;334 and id&lt;338]"/>
- <xsl:apply-templates select="row[id&gt;344 and id&lt;348]"/>
- <xsl:apply-templates select="row[id&gt;354 and id&lt;358]"/>
- <xsl:apply-templates select="row[id&gt;364 and id&lt;368]"/>
- <xsl:apply-templates select="row[id&gt;374 and id&lt;378]"/>
- <xsl:apply-templates select="row[id&gt;384 and id&lt;388]"/>
- <xsl:apply-templates select="row[id&gt;394 and id&lt;398]"/>
- <xsl:apply-templates select="row[id&gt;404 and id&lt;408]"/>
- <xsl:apply-templates select="row[id&gt;414 and id&lt;418]"/>
- <xsl:apply-templates select="row[id&gt;424 and id&lt;428]"/>
- <xsl:apply-templates select="row[id&gt;434 and id&lt;438]"/>
- <xsl:apply-templates select="row[id&gt;444 and id&lt;448]"/>
- <xsl:apply-templates select="row[id&gt;454 and id&lt;458]"/>
- <xsl:apply-templates select="row[id&gt;464 and id&lt;468]"/>
- <xsl:apply-templates select="row[id&gt;474 and id&lt;478]"/>
- <xsl:apply-templates select="row[id&gt;484 and id&lt;488]"/>
- <xsl:apply-templates select="row[id&gt;494 and id&lt;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>&#x0A;</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>&#x0A;</xsl:text>
-</xsl:template>
-
-</xsl:stylesheet>