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: demo.php
Description: application/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: signature.asc
Description: This is a digitally signed message part

Reply via email to