aboutsummaryrefslogtreecommitdiffstats
path: root/test/XPath/expr/strings
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>1999-07-15 14:24:29 +0000
committerDaniel Veillard <veillard@src.gnome.org>1999-07-15 14:24:29 +0000
commit1566d3a91b50e08f8bd928da5a06d9c53a99747f (patch)
treef6c75eeafc37dd40a502e2a17e3d1f7ae8b710ba /test/XPath/expr/strings
parentd79d787092753bc1f86e360f33b6d6bcb8940d80 (diff)
downloadandroid_external_libxml2-1566d3a91b50e08f8bd928da5a06d9c53a99747f.tar.gz
android_external_libxml2-1566d3a91b50e08f8bd928da5a06d9c53a99747f.tar.bz2
android_external_libxml2-1566d3a91b50e08f8bd928da5a06d9c53a99747f.zip
Added XPath code (http://www.w3.org/TR/xpath), updated HTML support and docs, Daniel
Diffstat (limited to 'test/XPath/expr/strings')
-rw-r--r--test/XPath/expr/strings19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/XPath/expr/strings b/test/XPath/expr/strings
new file mode 100644
index 00000000..299b3007
--- /dev/null
+++ b/test/XPath/expr/strings
@@ -0,0 +1,19 @@
+string(5)
+string(0.5)
+string(-0.5)
+string(true())
+string(false())
+concat("titi","toto")
+concat("titi","toto","tata")
+starts-with("tititoto","titi")
+starts-with("tititoto","to")
+contains("tititototata","titi")
+contains("tititototata","toto")
+contains("tititototata","tata")
+contains("tititototata","tita")
+substring("12345",2,3)
+substring("12345",2)
+substring("12345",1.5,2.6)
+substring("12345",0,3)
+string-length("")
+string-length("titi")