mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-09-17 03:22:14 +03:00
libxslt/variables.c: big cleanup on the way templates or template fragments are processed, cleanup of stack building - tests/docs/Makefile.am tests/general/Makefile.am tests/general/bug-4[1-8]-* tests/docs/bug-4[1-8]-*: added a series of regression test for the variable/params lookups - libxslt/transform.c libxslt/xsltutils.[ch] libxslt/xsltproc.c: started working on profiling code, there is just invocation counting yet but the framework is in place. Daniel
17 lines
369 B
XML
17 lines
369 B
XML
<?xml version='1.0'?>
|
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
version='1.0'>
|
|
|
|
<xsl:variable name="foo" select="'SUCCESS'"/>
|
|
|
|
<xsl:template match="doc">
|
|
<xsl:value-of select="$foo"/>
|
|
</xsl:template>
|
|
|
|
<xsl:template match="/">
|
|
<xsl:variable name="foo" select="'FAILURE'"/>
|
|
<xsl:apply-templates/>
|
|
</xsl:template>
|
|
|
|
</xsl:stylesheet>
|