mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-09-15 16:01:08 +03:00
* 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
9 lines
295 B
XML
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>
|