mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-11-06 23:49:25 +03:00
* libxslt/xsltutils.c: small fix for xsl:message by Stephane GUIBOU * tests/documents/Makefile.am tests/documents/message.*: added a specific regression test * libxslt/transform.c: fixed an infinite loop * configure.in doc/Makefile.am: attempt to add --with-html-dir, this may work Daniel
20 lines
467 B
XML
20 lines
467 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<xsl:stylesheet version="1.0"
|
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
|
|
|
<xsl:output method="xml"
|
|
encoding="iso-8859-1"
|
|
indent="yes"/>
|
|
|
|
<xsl:template match="/">
|
|
<xsl:message terminate="no">A simple message</xsl:message>
|
|
<xsl:apply-templates/>
|
|
</xsl:template>
|
|
|
|
<xsl:template match="root|node">
|
|
<xsl:message terminate="yes">A fatal message</xsl:message>
|
|
</xsl:template>
|
|
|
|
</xsl:stylesheet>
|