cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean" <jaka...@wideasleep.com>
Subject Re: Caching problem with XSLT's
Date Sun, 28 Jan 2001 00:58:22 GMT
Attached are 5 files that I am using that are having this problem.  The
index.xml is the main page of my site.  The main-xsp.xsl is the first
transformation style sheet that adds some really basic java xsp code and
main.xsl is the second and final style sheet.  sections.xml is a file that I
xinclude from the 2 attached xml files to incude the sections of the site
dynamically.  The body.xml file is another page.

This is my first attempt at translating my current website into xml.  Anyhow
... to see the problem I am, execute the index.xml file and then the
body.xml.  Then goto the main.xsl file and make a change like adding some
text or something.  Then reload one of the xml pages, nothing happens, the
new text does not appear.

Anyhow, I hope this helps ...

Sean

P.S. If you see any dramatic flaws in my code please let me know.  I know
the structure of the xml needs work but it is a start.  I am still looking
for a good website/document dtd that I want to follow for my site.  web
docbook is not quite what I am looking for.  If you have any suggestions let
me know. Thanks ...


----- Original Message -----
From: "Robin Green" <greenrd@hotmail.com>
To: <cocoon-users@xml.apache.org>
Sent: Saturday, January 27, 2001 7:33 AM
Subject: Re: Caching problem with XSLT's


> "Sean" <jakarta@wideasleep.com> wrote:
> >I am having a problem with caching of XSLT stylsheets.  I am running
> >Cocoon 1.8 and Tomcat 3.2.1.  I have 3 xml files that first run through
> >an XSP XSLT transform and then I run through a XSLT transform that
> >outputs HTML.  Anyhow, if I load one XML file in my web browser (and
> >have cocoon perform the transform) and edit any of the XSLT files
> >everything is good.  BUT, as soon I view another page after it was
> >transformed and edit the XSLT file Cocoon fails to recompile the pages
> >and no matter what I do after that I cannot get Cocoon to refresh the
> >page and recompile the XSLT until I reboot Tomcat.
>
> Can I see your processing instructions please?
>
> >Does anyone have any idea what is going on here?  I origionally had a
> >single XSLT file for eash XML file but I recently condenced all of the
> >XSLT tranform files into one file and now I am having this problem.
> >Restarting the server after every other change is becoming a pain.
>
>
>
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
>
> ---------------------------------------------------------------------
> 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: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
>

Mime
View raw message