diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2018-01-05 10:19:05 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2018-01-05 10:19:20 +0900 |
commit | f4ef47c4cf343faf4464001aa73ba0fe4878000b (patch) | |
tree | 0a6fecfbbfce53d96cb3e9ca33e12d17391e3050 /tests/exslt/functions/function.11.xsl | |
parent | 8737843a4d457b79d3c6abbc17fbf97b81a8861e (diff) | |
parent | 28153c89adaff8d83720eb1c37d940cca6506c9c (diff) | |
download | libxslt-f4ef47c4cf343faf4464001aa73ba0fe4878000b.tar.gz libxslt-f4ef47c4cf343faf4464001aa73ba0fe4878000b.tar.bz2 libxslt-f4ef47c4cf343faf4464001aa73ba0fe4878000b.zip |
Merge branch 'tizen_base' into tizen
Change-Id: I8832282d1456721bfd7565a90f89065c90b24b6f
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'tests/exslt/functions/function.11.xsl')
-rw-r--r-- | tests/exslt/functions/function.11.xsl | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/tests/exslt/functions/function.11.xsl b/tests/exslt/functions/function.11.xsl new file mode 100644 index 00000000..7a3437a6 --- /dev/null +++ b/tests/exslt/functions/function.11.xsl @@ -0,0 +1,32 @@ +<?xml version="1.0"?> + +<xsl:stylesheet + version="1.0" + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:func="http://exslt.org/functions" + xmlns:test="test" + extension-element-prefixes="func" +> + <func:function name="test:fragment"> + <func:result> + <a> + <b/> + </a> + </func:result> + </func:function> + + <func:function name="test:func1"> + <xsl:variable name="var" select="test:fragment()"/> + <func:result select="$var"/> + </func:function> + + <func:function name="test:func2"> + <xsl:variable name="var" select="test:func1()"/> + <func:result select="$var"/> + </func:function> + + <xsl:template match="/"> + <xsl:copy-of select="test:func2()"/> + </xsl:template> +</xsl:stylesheet> + |