cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <vadim.gritse...@verizon.net>
Subject Re: Dynamic XSL generation with "cocoon:" : excalibur Source or cocoon Source bug ?
Date Thu, 31 Jul 2003 12:56:46 GMT
Olivier Billard wrote:

> Hi Vadim !
>
> Relatively to recent mails of the thread, you think it could work with 
> xsltc, if some offendering xsl were removed ? 


Yes. Just added transform to xsl-dynamic-source:

<xsl:stylesheet version="1.0"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                xmlns:xsp="http://apache.org/xsp"
                xmlns:xsp-request="http://apache.org/xsp/request/2.0">

  <xsl:template match="xsl:stylesheet/xsl:template/xsl:if/p">
    Hey there!!! <br/>
    <xsl:apply-templates/>
  </xsl:template>

  <xsl:template match="@*|node()" priority="-1">
    <xsl:copy>
      <xsl:apply-templates select="@*|node()"/>
    </xsl:copy>
  </xsl:template>
</xsl:stylesheet>

And it still works ok with default xslt transformer - which is xsltc. 
When/if you find a bug in xsltc please report it to xalan-dev or bugzilla.

Vadim



Mime
View raw message