php-src/ext/xslt/tests/args.xsl
Melvyn Sopacua 9bb526c283 (xslt tests) Add test for new backend API (005.phpt), new function
(006.phpt) and a crash test (007.phpt)
             006.phpt also tests handling of public entities, which is in
             essence new to the extension, since there was no way to turn
             it on.
# These new functions and backend will be added shortly.
# TODO: test for xslt_set_object
2002-10-05 19:44:26 +00:00

11 lines
401 B
XML
Executable File

<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output encoding="ISO-8859-1" method="text" omit-xml-declaration="yes" />
<xsl:template match="/qa">
<xsl:apply-templates select="test" />
</xsl:template>
<xsl:template match="test[@type = 'simple']">
<xsl:value-of select="." />
</xsl:template>
</xsl:stylesheet>