[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xml-cocoon-users
Subject:    Re: I am also having problems with logicsheets
From:       Christian Haul <haul () dvs1 ! informatik ! tu-darmstadt ! de>
Date:       2003-10-14 16:25:48
[Download RAW message or body]

On 14.Oct.2003 -- 12:18 PM, Christopher Painter-Wakefield wrote:

> A logicsheet that really does nothing at all would contain at least one
> template, e.g.:
> <xsl:template match="xsp:page">
>       <xsl:copy-of select="."/>
> </xsl:template>

better

<!--
  Copy all nodes that were not handled by a dedicated template.
-->
<xsl:template match="@*|node()" priority="-2">
  <xsl:copy>
    <xsl:apply-templates select="@*|node()"/>
  </xsl:copy>
</xsl:template>

I recommend using the logicsheets-util.xsl in every logicsheet which
includes this template together with a couple of very useful named
templates.

	Chris.
-- 
C h r i s t i a n       H a u l
haul@informatik.tu-darmstadt.de
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic