You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Fernando Wermus <fw...@sinectis.com.ar> on 2003/01/10 21:25:44 UTC

sitemap & war

I?m Fernando. I?m new with Cocoon.
I am using Jbuilder to create a webapp. My problem is that the sitemap.xmap
doesn?t appear in the war file, in the application. What?s more, the
Jbuilder 6.0 doesn?t reconize the extension .xmap, except .map . Do you know
how to run the sitemap.map file under a webapp Cocoon in Jbuiler.

thanks



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

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


Re: xsl include doesn't reload changed included document?!?

Posted by "J.Pietschmann" <j3...@yahoo.de>.
Thomas Sandor wrote:
> I'm using the following line to include another xml in my XSLT file:
>     <xsl:apply-templates select="document(include/@url)" mode="include" />
...
> The problem is that when I change something in the included document,
> nothing happens, by the transformer, it uses the same previous state.

That's a known defect. Either use sitemap aggregation or XInclude.
Search the list archive for details.

J.Pietschmann


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

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


xsl include doesn't reload changed included document?!?

Posted by Thomas Sandor <ts...@rndsoft.com>.
hi,

I'm using the following line to include another xml in my XSLT file:
    <xsl:apply-templates select="document(include/@url)" mode="include" />

and the template section start as follows:
<xsl:template match="categories" mode="include">...</xsl:template>

The problem is that when I change something in the included document,
nothing happens, by the transformer, it uses the same previous state. I can
only make it awake by redeploying the whole ear.
I emptyed the catalina work directory. So I don't see from where gets cocoon
the cached document.

How can I force Cocoon or the XSLT to really check and if change read the
included document??

any help is appreciated.
Thanks,
Thomas


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

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


Re: sitemap & war

Posted by Konstantin Piroumian <kp...@apache.org>.
Hi!

Take a look at the webapp properties, you can define which resources to copy
into the WAR. And you can also setup a new file type somewhere in Tools->IDE
settings (or so), so .xmap extension will be recognized.

Konstantin

----- Original Message -----
From: "Fernando Wermus" <fw...@sinectis.com.ar>
To: <co...@xml.apache.org>
Sent: Friday, January 10, 2003 23:25
Subject: sitemap & war


> I?m Fernando. I?m new with Cocoon.
> I am using Jbuilder to create a webapp. My problem is that the
sitemap.xmap
> doesn?t appear in the war file, in the application. What?s more, the
> Jbuilder 6.0 doesn?t reconize the extension .xmap, except .map . Do you
know
> how to run the sitemap.map file under a webapp Cocoon in Jbuiler.
>
> thanks
>
>
>
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.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/faq/index.html>

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