1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-09-17 03:22:14 +03:00
Files
libxslt/tests/general/bug-42-.xsl
Daniel Veillard 6744bd096b - libxslt/templates.c libxslt/transform.c libxslt/transform.h
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
2001-07-07 17:05:02 +00:00

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>