1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-09-15 16:01:08 +03:00
Files
libxslt/tests/general/bug-62.xsl
Daniel Veillard 2db3204c7d fixed a problem with global var override being reported as an error. added
* libxslt/variables.c: fixed a problem with global var override
  being reported as an error.
* tests/docs/Makefile.am tests/docs/bug-61.xml
  tests/general/Makefile.am tests/general/bug-61.*: added a
  specific example in the regression tests
* configure.in tests/Makefile.am tests/reports/*: adding a test
  to make sure redefinition of global variables in the same stylesheet
  are still reported
Daniel
2001-09-17 12:52:18 +00:00

9 lines
295 B
XML

<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:import href="bug-62-inc.xsl"/>
<xsl:variable name="my.var">the-value</xsl:variable>
<xsl:template match="/">
<xsl:value-of select="$my.var"/>
</xsl:template>
</xsl:stylesheet>