Added test cases
[SXSI/xpathcomp.git] / tests / xpath-pt / xslt / E7.xsl
diff --git a/tests/xpath-pt/xslt/E7.xsl b/tests/xpath-pt/xslt/E7.xsl
new file mode 100644 (file)
index 0000000..93fd240
--- /dev/null
@@ -0,0 +1,6 @@
+<?xml version="1.0"?> 
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+  <xsl:template match="/">
+    <xsl:copy-of select="site/regions/*/item[contains(substring-before(description, 'eros'), 'passion') and contains(substring-after(description, 'eros'), 'dangerous')]/name"/>
+  </xsl:template>
+</xsl:stylesheet>
\ No newline at end of file