cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Torsten Curdt" <tcu...@dff.st>
Subject separate logic
Date Tue, 11 Jul 2000 09:48:45 GMT
In every XSP page I like to have...

<xsl:template match="something">
  <xsp:logic>
  ...
  <xsl:apply-templates/>
  ...
  </xsp:logic>
</xsl:template>

But since it's always the I want
to separate it... like:

<xsl:template match="something">
  <xsl:include href="otherfile.xsp"/>
</xsl:template>


otherfile.xsp:
  <xsp:logic>
  ...
  <xsl:apply-templates/>
  ...
  </xsp:logic>

What's the best way to do that?
Maybe the XInclude processor again!?
(I'm getting really confused about this
 including topic..)
--
Torsten

Mime
View raw message