You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Luca Morandini <l....@tin.it> on 2001/06/14 09:20:31 UTC

Style-free XSLT Style Sheets samples code

    Has anyone tried to make the sample code included in this article:

Style-free XSLT,  XML.COM, Eric Van der Vlist,  (
http://www.xml.com/pub/a/2000/07/26/xslt/xsltstyle.html  )

working under cocoon 2 ?

    I tried, but the only thing I get is a perfectly blank page (I mean even
"view source" shows nothing).

    Any clue ?

Best regards,

---------------------------------------------
               Luca Morandini
               GIS Consultant
            lmorandini@ieee.org
          +39 (0)744  59 85  1 Office
          +39 0335 681 02 12 Mobile
http://utenti.tripod.it/lmorandini/index.html
---------------------------------------------


RE: Style-free XSLT Style Sheets samples code

Posted by Luca Morandini <l....@tin.it>.
Stefan,

	no avail.

Best regards,
 
---------------------------------------------
               Luca Morandini
               GIS Consultant
            lmorandini@ieee.org
          +39 0744 59  85  1 Office
          +39 0335 681 02 12 Mobile
http://utenti.tripod.it/lmorandini/index.html
---------------------------------------------


> -----Original Message-----
> From: Stefan Koehler [mailto:stefan.koehler@interface-projects.de]
> Sent: giovedì 14 giugno 2001 15.35
> To: cocoon-users@xml.apache.org
> Subject: Re: Style-free XSLT Style Sheets samples code
>
>
> > 	thanks again, now I was able to install it.
> > 	Nevertheless the problem is still with me:
> > Example 1 : Works :) (hence, sitemap is working)
> > Example 2 : Nothing appears :(
> > Example 3 : Nothing appears :(
> >
> > 	Is there anyone out there having the same problem ?
>
> I remember I had similar problems the first time with an older version of
> cocoon2 . It was because the document() function in
> <xsl:variable name="layout" select="document('layout.xml')"/>
> didn't act the way it was expected:
> The path had to be relative to the servlet context, not to the
> stylesheet file.
> So I had to write:
> <xsl:variable name="layout" select="document('stylefree/layout.xml')"/>
>
> I think, this could be a problem of xalan-2.0.1. I'm using
> xalan-2.1.0 now as
> it comes with cocoon2.0b1.
>
> Hope this helps,
> --
> Stefan Köhler
> mailto:stefan.koehler@interface-projects.de
>
> ---------------------------------------------------------------------
> 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>


Re: Style-free XSLT Style Sheets samples code

Posted by Stefan Koehler <st...@interface-projects.de>.
> 	thanks again, now I was able to install it.
> 	Nevertheless the problem is still with me:
> Example 1 : Works :) (hence, sitemap is working)
> Example 2 : Nothing appears :(
> Example 3 : Nothing appears :(
>
> 	Is there anyone out there having the same problem ?

I remember I had similar problems the first time with an older version of 
cocoon2 . It was because the document() function in
<xsl:variable name="layout" select="document('layout.xml')"/>
didn't act the way it was expected:
The path had to be relative to the servlet context, not to the stylesheet file.
So I had to write:
<xsl:variable name="layout" select="document('stylefree/layout.xml')"/>

I think, this could be a problem of xalan-2.0.1. I'm using xalan-2.1.0 now as 
it comes with cocoon2.0b1.

Hope this helps,
-- 
Stefan Köhler
mailto:stefan.koehler@interface-projects.de

---------------------------------------------------------------------
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: Style-free XSLT Style Sheets samples code

Posted by Luca Morandini <l....@tin.it>.
Stefan,

	thanks again, now I was able to install it.

	Nevertheless the problem is still with me:
Example 1 : Works :) (hence, sitemap is working)
Example 2 : Nothing appears :(
Example 3 : Nothing appears :(

	Is there anyone out there having the same problem ?

My configuration is:
Server: Windows NT 4.0 SP6a Server, Apache 1.3.14, Tomcat 3.2, Cocoon 2.0b1
Client: Windows NT 4.0 SP6a Workstation, Internet Explorer 5.5

Best regards,
 
---------------------------------------------
               Luca Morandini
               GIS Consultant
            lmorandini@ieee.org
          +39 0744 59  85  1 Office
          +39 0335 681 02 12 Mobile
http://utenti.tripod.it/lmorandini/index.html
---------------------------------------------


> -----Original Message-----
> From: Stefan Koehler [mailto:stefan.koehler@interface-projects.de]
> Sent: giovedì 14 giugno 2001 14.37
> To: cocoon-users@xml.apache.org
> Subject: Re: Style-free XSLT Style Sheets samples code
>
>
> Hi Luca,
>
> > 	no way, the mail archive store the attachement, apparently,
> as a link to
> > the message itself.
>
> just save the link ["stylefree.tgz" (application/x-gzip)] on the
> page to disk and
> extract the file with winzip. I have tested this on Win2000, too.
> It works.
>
> > 	BTW, yes, I have Outlook on my PC and it doesn't recognize
> TGZ files.
>
> So just forget Windows :-)
> I'll send the file in .zip format to your mail address
> Imorandini@ieee.org.
> --
> Stefan Köhler
> mailto:stefan.koehler@interface-projects.de
>
> ---------------------------------------------------------------------
> 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>


Re: Style-free XSLT Style Sheets samples code

Posted by Stefan Koehler <st...@interface-projects.de>.
Hi Luca,

> 	no way, the mail archive store the attachement, apparently, as a link to
> the message itself.

just save the link ["stylefree.tgz" (application/x-gzip)] on the page to disk and 
extract the file with winzip. I have tested this on Win2000, too. It works.

> 	BTW, yes, I have Outlook on my PC and it doesn't recognize TGZ files.

So just forget Windows :-)
I'll send the file in .zip format to your mail address Imorandini@ieee.org.
-- 
Stefan Köhler
mailto:stefan.koehler@interface-projects.de

---------------------------------------------------------------------
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: Style-free XSLT Style Sheets samples code

Posted by Luca Morandini <l....@tin.it>.
Stefan,

	no way, the mail archive store the attachement, apparently, as a link to
the message itself.

	BTW, yes, I have Outlook on my PC and it doesn't recognize TGZ files.

Best regards,
 
---------------------------------------------
               Luca Morandini
               GIS Consultant
            lmorandini@ieee.org
          +39 0744 59  85  1 Office
          +39 0335 681 02 12 Mobile
http://utenti.tripod.it/lmorandini/index.html
---------------------------------------------


> -----Original Message-----
> From: Stefan Koehler [mailto:stefan.koehler@interface-projects.de]
> Sent: giovedì 14 giugno 2001 13.12
> To: cocoon-users@xml.apache.org
> Subject: Re: Style-free XSLT Style Sheets samples code
>
>
> Luca,
>
> > 	first, let me thank you for taking the time to help me;
>
> no problem :-)
>
> > second, I've already set up a sub-sitemap like yours (which
> works just fine
> > for other pages).
> > 	BTW, your attachement didn't get to me... could you please
> re-send it
> > using a ZIP file ?
> >
>
> Hmm, my mail client has no problem with the attachement
> (I'm using KMail from KDE2 (Linux)).
> But my colleague's Outlook (Win2000) embeds it in the message,
> which is, I think, your problem, too.
>
> However, you can take it from the mail archiv on the web:
> http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=99250872815797&w=2
>
> P.S.: Winzip should be able to extract .tgz files.
>
> --
> Stefan Köhler
> mailto:stefan.koehler@interface-projects.de
>
> ---------------------------------------------------------------------
> 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>


Re: Style-free XSLT Style Sheets samples code

Posted by Stefan Koehler <st...@interface-projects.de>.
Luca,

> 	first, let me thank you for taking the time to help me;

no problem :-)

> second, I've already set up a sub-sitemap like yours (which works just fine
> for other pages).
> 	BTW, your attachement didn't get to me... could you please re-send it
> using a ZIP file ?
>

Hmm, my mail client has no problem with the attachement 
(I'm using KMail from KDE2 (Linux)).
But my colleague's Outlook (Win2000) embeds it in the message,
which is, I think, your problem, too. 

However, you can take it from the mail archiv on the web:
http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=99250872815797&w=2

P.S.: Winzip should be able to extract .tgz files. 

-- 
Stefan Köhler
mailto:stefan.koehler@interface-projects.de

---------------------------------------------------------------------
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: Style-free XSLT Style Sheets samples code

Posted by Luca Morandini <l....@tin.it>.
Stefan,

	first, let me thank you for taking the time to help me;
second, I've already set up a sub-sitemap like yours (which works just fine
for other pages).
	BTW, your attachement didn't get to me... could you please re-send it using
a ZIP file ?

Best regards,
 
---------------------------------------------
               Luca Morandini
               GIS Consultant
            lmorandini@ieee.org
          +39 (0)744  59 85  1 Office
          +39 0335 681 02 12 Mobile
http://utenti.tripod.it/lmorandini/index.html
---------------------------------------------


> -----Original Message-----
> From: Stefan Koehler [mailto:stefan.koehler@interface-projects.de]
> Sent: giovedì 14 giugno 2001 10.52
> To: cocoon-users@xml.apache.org
> Subject: Re: Style-free XSLT Style Sheets samples code
>
>
> --------------Boundary-00=_2NWWGMGAXODEYZTH61F6
> Content-Type: text/plain;
>   charset="iso-8859-1"
> Content-Transfer-Encoding: 8bit
>
> Luca Morandini wrote:
> > Has anyone tried to make the sample code included in this article:
> > Style-free XSLT,  XML.COM, Eric Van der Vlist,  (
> > http://www.xml.com/pub/a/2000/07/26/xslt/xsltstyle.html  )
> > working under cocoon 2 ?
>
> Yes, I have a working stylefree example with cocoon2b1. Put
> something like
> this in your sitemap:
>
>     <map:match pattern="1">
>     	<map:generate src="1/source.xml"/>
>     	<map:transform src="1/style.xslt"/>
>     	<map:serialize type="html"/>
>     </map:match>
>     <map:match pattern="2">
>     	<map:generate src="2/source.xml"/>
>     	<map:transform src="2/logic.xslt"/>
>     	<map:serialize type="html"/>
>     </map:match>
>     <map:match pattern="3">
>     	<map:generate src="3/spec_layout.xml"/>
>    	<map:transform src="3/logic2.xslt"/>
>     	<map:serialize type="html"/>
>     </map:match>
>
> The complete source is attached. It uses a subsitemap, which is
> mounted like this in your main sitemap:
> <map:pipeline>
>         <map:match pattern="stylefree/**">
>             <map:mount uri-prefix="stylefree" src="stylefree/"
> check-reload="yes" reload-method="synchron"/>
>         </map:match>
> </map:pipeline>
>
> --
> Stefan Köhler
> mailto:stefan.koehler@interface-projects.de
>
> --------------Boundary-00=_2NWWGMGAXODEYZTH61F6
> Content-Type: application/x-gzip;
>   name="stylefree.tgz"
> Content-Transfer-Encoding: base64
> Content-Disposition: attachment; filename="stylefree.tgz"
>
> H4sIAE53KDsAA+0da3PbuDFfnZn+Bxynbaicracd9xxZOddx7jzj19hKk05746FJSE
> JNkTySsq22
> +e/dxYMEKUqWZVlOGuKDxQewWOwudhe7IBzFY5f2QkprL56s1Oub9e16HX7rDbjG33
> q9tS1+RXlR
> 3241mvCn2Wq9qDeazVb9Bdl6OpTSMopiKyTkRRTTnuVNr9cf0SheBUKrLVHC/8aTSc
> BD+N/YbCD/
> W2/elPxfRdH5z6+rd5G75HEi17c3N6fxvwGzPsf/zc2trRekvlw0ist3zv/2u7uhS2
> 5oGDHf2zUa
> 1bpBqGf7DvP6u8Yo7m38xXjX+cPLNojFDheQaEBpTKCVF+3Aw11jEMfBTq12e3tbvW
> 1V/bBfa/z0
> 00+1zxdHtW5oeVHPD4cGgJBAYjoMXCumZGjF9mDXqMl3g3jowhUh7QG1HH4F1z9sbJ
> BfoL94QAk+
> JzeWC5yA65BWq1WysaFqImwrCNzxhuohIhF1qR1DHwi8hu1rrw1SE93Ukn7aV74zVn
> Bi68ql5JY5
> MSAH8vong1z5oUNDuIPLvu27Plwf0aHv7Q9Yr+d7hmyLrcPkGu8cAtWjwALSNo0MUL
> 3aoNH5FXCh
> IeDU0F6Ytj+EXkjsEwosGpPA6lPi9zg1Ihb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dYIVaE08thTlpfE4odfJkIJr7MkGpiAjJvAs
> 1YnQa/zknu
> X6Ei41MJJ1J68JcihjwhHndz8aZ4rhOzRy6YX5SH9RSdBIUCKOqQanEY/ZBhOgHUzC
> hUzaHuBKqy
> rfDd3PxZ9UzvUioYFIIixvBegc/c4RqO3JhtiB1iEia85aeuAJo31GNcYQyohyNhfa
> 7mAz+M0VxB
> r9E6vgw5/YWBQo3Q74e0b6kxO1ZsCewc1utBNYAo2MznOj9xZ5I1PhE7EPiQDH7g5+
> Qh/ORjpE7v
> HyLrEhWny5SF2l0OznJd/EB0xDXqNQWp1xW26eFhjpiRccag6fCf6nDkC0Qn5TR0Ad
> wLRU01roQo
> Y/4dmNevykn5EDXWmqXG+HjlqGaotAKg+dV/J/egQL/JfqYouMy560ZHu3moqswGGz
> razQLKMrnh
> HJpfX7Zrws9TaabyAKGylKUsZSlLWcpSlq+q/A8g1grMAKAAAA==
>
>
> --------------Boundary-00=_2NWWGMGAXODEYZTH61F6
> Content-Type: text/plain; charset=us-ascii
>
> ---------------------------------------------------------------------
> 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>
> --------------Boundary-00=_2NWWGMGAXODEYZTH61F6--
>


---------------------------------------------------------------------
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: Style-free XSLT Style Sheets samples code

Posted by Stefan Koehler <st...@interface-projects.de>.
Luca Morandini wrote:
> Has anyone tried to make the sample code included in this article:
> Style-free XSLT,  XML.COM, Eric Van der Vlist,  (
> http://www.xml.com/pub/a/2000/07/26/xslt/xsltstyle.html  )
> working under cocoon 2 ?

Yes, I have a working stylefree example with cocoon2b1. Put something like 
this in your sitemap:

    <map:match pattern="1">
    	<map:generate src="1/source.xml"/>
    	<map:transform src="1/style.xslt"/>
    	<map:serialize type="html"/>
    </map:match>
    <map:match pattern="2">
    	<map:generate src="2/source.xml"/>
    	<map:transform src="2/logic.xslt"/>
    	<map:serialize type="html"/>
    </map:match>
    <map:match pattern="3">
    	<map:generate src="3/spec_layout.xml"/>
   	<map:transform src="3/logic2.xslt"/>
    	<map:serialize type="html"/>
    </map:match>

The complete source is attached. It uses a subsitemap, which is mounted like this in your main sitemap:
<map:pipeline>
        <map:match pattern="stylefree/**">
            <map:mount uri-prefix="stylefree" src="stylefree/" check-reload="yes" reload-method="synchron"/>
        </map:match>
</map:pipeline>

-- 
Stefan K�hler
mailto:stefan.koehler@interface-projects.de

RE: Rant (was: Re: Style-free XSLT Style Sheets samples code)

Posted by Luca Morandini <l....@tin.it>.
Uli,

	while I agree with you on the nasty Microsoft ways, I'd like to point out
that, like it or not, IE is the browser people use.

	That said, I can (barely) convince my customers to go the XML/Java way
instead of sucking ASP... but I won't never convince them to give up IE.

	Anyhow: my problem is there even using Navigator 6 or Navigator 4.75 :(

Best regards,
 
---------------------------------------------
               Luca Morandini
               GIS Consultant
            lmorandini@ieee.org
          +39 0744 59  85  1 Office
          +39 0335 681 02 12 Mobile
http://utenti.tripod.it/lmorandini/index.html
---------------------------------------------


> -----Original Message-----
> From: Uli Mayring [mailto:ulim@denic.de]
> Sent: giovedì 14 giugno 2001 14.01
> To: Cocoon mailing list
> Subject: Rant (was: Re: Style-free XSLT Style Sheets samples code)
>
>
> On Thu, 14 Jun 2001, Luca Morandini wrote:
>
> >     I tried, but the only thing I get is a perfectly blank page
> (I mean even
> > "view source" shows nothing).
> >
> >     Any clue ?
>
> While I have no knowledge of Cocoon2 or your problem, I can say one
> thing:
>
> If you want to do any serious work in the XML field you must get rid of
> Internet Explorer - use a different browser that complies to the HTTP
> standard. This will get rid of an amazing number of "blank pages", plus
> you'll be sure that the stuff you develop works on any HTTP-compliant
> browser. There are many good browsers out there, so there is no reason
> to use the one that tries to "embrace and extend" the Internet. With the
> coming smart tags you can add "deface".
>
> While I'm usually not a religious person, I must say that I am shocked at
> the way Microsoft tries to make their software subtly incompatible with
> the rest of the world - thereby trying to force users to abandon free
> standards and flock to the Microsoft Web. I think we - in the sense of the
> ASF and its supporters - should take a stand at this point. This behavior
> of Microsoft hurts us not only in a religious or social way, it also makes
> a mockery of the technical work done at ASF and other places.
>
> The most frequent answer on this list is "RTFM", but "CYFB" (change your
> fucking browser) is taking over :)
>
> Ulrich
>
> --
> Ulrich Mayring
> DENIC eG, Softwareentwicklung
>
>
> ---------------------------------------------------------------------
> 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>


Rant (was: Re: Style-free XSLT Style Sheets samples code)

Posted by Uli Mayring <ul...@denic.de>.
On Thu, 14 Jun 2001, Luca Morandini wrote:

>     I tried, but the only thing I get is a perfectly blank page (I mean even
> "view source" shows nothing).
> 
>     Any clue ?

While I have no knowledge of Cocoon2 or your problem, I can say one
thing:

If you want to do any serious work in the XML field you must get rid of
Internet Explorer - use a different browser that complies to the HTTP
standard. This will get rid of an amazing number of "blank pages", plus
you'll be sure that the stuff you develop works on any HTTP-compliant
browser. There are many good browsers out there, so there is no reason
to use the one that tries to "embrace and extend" the Internet. With the
coming smart tags you can add "deface".

While I'm usually not a religious person, I must say that I am shocked at
the way Microsoft tries to make their software subtly incompatible with
the rest of the world - thereby trying to force users to abandon free
standards and flock to the Microsoft Web. I think we - in the sense of the
ASF and its supporters - should take a stand at this point. This behavior
of Microsoft hurts us not only in a religious or social way, it also makes
a mockery of the technical work done at ASF and other places.

The most frequent answer on this list is "RTFM", but "CYFB" (change your
fucking browser) is taking over :)

Ulrich

-- 
Ulrich Mayring
DENIC eG, Softwareentwicklung


---------------------------------------------------------------------
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>