mirror of
https://github.com/php/php-src.git
synced 2024-10-16 05:52:36 +00:00
9bb526c283
(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
16 lines
531 B
XML
16 lines
531 B
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
|
<xsl:output method="text" omit-xml-declaration="yes" encoding="ISO-8859-1" />
|
|
<xsl:param name="insertion">Test failed</xsl:param>
|
|
<xsl:template match="/qa">
|
|
<xsl:apply-templates select="test" />
|
|
</xsl:template>
|
|
<xsl:template match="test">
|
|
<xsl:choose>
|
|
<xsl:when test="@type != 'simple'">
|
|
<xsl:value-of select="$insertion" />
|
|
</xsl:when>
|
|
</xsl:choose>
|
|
</xsl:template>
|
|
</xsl:stylesheet>
|