cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Painter-Wakefield <paint...@mc.duke.edu>
Subject Re: Logicsheet with code inside
Date Tue, 02 Dec 2003 16:26:27 GMT
perhaps these docs will help:
http://cocoon.apache.org/2.1/userdocs/xsp/logicsheet.html#Simple+XSP+Logicsheet+Example

-Christopher





O.Vobejda@sh.cvut.cz
12/01/2003 11:57 PM
Please respond to users

 
        To:     users@cocoon.apache.org
        cc: 
        Subject:        Logicsheet with code inside


Hi, I'd like to do logicsheet, it should just copy of input code. Example:

XSP script looks like:

<new_sheet:tag>
... java code, using other logicsheet, simply anything ...
</new_sheet:tag>

XSL logisheet define should look like (I thought):


<xsl:template match="new_sheet:tag">
  <xsp:content>
    <xsl:apply-templates/>
  </xsp:content>
</xsl:template>

or something like

<xsl:template match="new_sheet:tag">
  <xsl:copy>
    <xsl:apply-templates/>
  </xsl:copy>
</xsl:template>

But nothing of the above doesn't work correctly (mainly calling other 
logicsheets, it seems). Do you know right way? Thanks a lot!

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org




Mime
View raw message