diff options
author | MyoungJune Park <mj2004.park@samsung.com> | 2016-06-29 14:28:51 +0900 |
---|---|---|
committer | MyoungJune Park <mj2004.park@samsung.com> | 2016-06-29 14:29:13 +0900 |
commit | 8737843a4d457b79d3c6abbc17fbf97b81a8861e (patch) | |
tree | 6229a8587d64a3a76c297f63d3eead8ffb51a14d /tests/exslt/strings/align.1.xsl | |
parent | c3bb6b2f10204be6970bfbaa50f9e96e184d505f (diff) | |
parent | c582450a479ff157cf79aed26b6b08e867ff3832 (diff) | |
download | libxslt-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/exslt/strings/align.1.xsl')
-rw-r--r-- | tests/exslt/strings/align.1.xsl | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/exslt/strings/align.1.xsl b/tests/exslt/strings/align.1.xsl new file mode 100644 index 00000000..3de033d7 --- /dev/null +++ b/tests/exslt/strings/align.1.xsl @@ -0,0 +1,22 @@ +<?xml version="1.0"?> +<xsl:stylesheet version="1.0" + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:str="http://exslt.org/strings" + exclude-result-prefixes="str"> + +<xsl:output indent="yes"/> + +<xsl:template match="test-cases"> + <test-results> + <xsl:apply-templates select="test-case"/> + </test-results> +</xsl:template> + +<xsl:template match="test-case"> + <test-result> + <xsl:value-of select="str:align(@string, @padding, @alignment)"/> + </test-result> +</xsl:template> + +</xsl:stylesheet> + |