Re: [PATCH] Repost - Adding Output Filters w/ Apache2 Handler SAPI
| From: | Paul Querna | Date: | Mon, 26 Apr 2004 18:21:42 +0000 |
| Subject: | Re: [PATCH] Repost - Adding Output Filters w/ Apache2 Handler SAPI | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-9570@lists.php.net to get a copy of this message | ||
On Mon, 2004-04-26 at 02:33, Andi Gutmans wrote:
> Can you please give an example on how this can be used?
Attached is a simple example of using both add_output_filter and
get_output_filters.
-Paul Querna
Attachment: [application/x-php] demo.php
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns="http://www.w3.org/1999/xhtml"> <xsl:template match="/"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Demo</title> </head> <body> <h1>Active Output Filters:</h1> <ul> <xsl:for-each select='demo/filter'> <li><xsl:value-of select="text()"/></li> </xsl:for-each> </ul> </body> </html> </xsl:template> </xsl:stylesheet> Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
Attachment: [application/x-php] demo.php
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns="http://www.w3.org/1999/xhtml"> <xsl:template match="/"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Demo</title> </head> <body> <h1>Active Output Filters:</h1> <ul> <xsl:for-each select='demo/filter'> <li><xsl:value-of select="text()"/></li> </xsl:for-each> </ul> </body> </html> </xsl:template> </xsl:stylesheet> Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc