You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Ratty <ra...@pf.crimea.ua> on 2001/11/26 15:07:00 UTC

xsp:include in logicsheets

In my logicsheet i must use java.uitl.Calendar in import.
How i can include it in basic xsp, from which my logicsheet called?
 do i must write something like this in logicsheet:
<xsl:template match ="ratty:xxx">
<xsp:page ....>
<xsp:structure>
<xsp:include>java.util.Calendar</xsp:include>
</xsp:structure>
<page> ...</page>
</xsp:page>
</xsl:template>  ?
when i tried it i give me error - something like "; expected"!
in generated code i see import java.util.Calendar inside my xsp generated
class - as i unterstood its wrong
Please help me!!


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


Re: xsp:include in logicsheets

Posted by Adrian Geissel <ag...@zenark.com>.
Hi,

the <xsp:structure/> tag must be a child of the root <xsp:page/>, and not
included inside an <xsl:template/>, as you have indicated below.

Hope this helps,
Adrian

----- Original Message -----
From: Ratty <ra...@pf.crimea.ua>
To: <co...@xml.apache.org>
Sent: Monday, November 26, 2001 2:07 PM
Subject: xsp:include in logicsheets


> In my logicsheet i must use java.uitl.Calendar in import.
> How i can include it in basic xsp, from which my logicsheet called?
>  do i must write something like this in logicsheet:
> <xsl:template match ="ratty:xxx">
> <xsp:page ....>
> <xsp:structure>
> <xsp:include>java.util.Calendar</xsp:include>
> </xsp:structure>
> <page> ...</page>
> </xsp:page>
> </xsl:template>  ?
> when i tried it i give me error - something like "; expected"!
> in generated code i see import java.util.Calendar inside my xsp generated
> class - as i unterstood its wrong
> Please help me!!
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>