cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James & Sue Ann Birchfield" <>
Subject RE: XSP problem
Date Wed, 01 Mar 2000 00:25:52 GMT
Check out

You will find a working example there.

James Birchfield
Chief Technology Officer

-----Original Message-----
[]On Behalf Of Fabien Campagne
Sent: Tuesday, February 29, 2000 12:51 PM
To:; MORÁVEK Peter
Subject: Re: XSP problem

MORÁVEK Peter wrote:

> I'm going to rewrite my CDPProducer to XSP. But I can't get my tag library
> to work.

Welcome to the club...

Is the following really what you want? As far as I understand xsp (not far),
xsp:expr delimits expressions, which need to be evaluated before their
is "substituted". In your example, "in open" is not a valid java expression,
so should generate a compilation error, but it does not, and this is the
I believe... The namespace stuff is another problem (I do reproduce it).

> Here are my files:

><xsl:template match="prefix:open">
>  <xsp:expr>in open</xsp:expr>

> -----------
> output that I want to gain
> -----------
>                       "">
> <page>
>                 <p>in open</p>
>                 <p>in close</p>
>         </page>
> <!-- This page was served in 8562 milliseconds by Cocoon 1.7 -->

Can someone post an example of tag-library that actually works, plus the
about the package versions necessary to run this. What are the important
to set to have this work, etc..

I tried the example given on, with
Cocoon 1.7,
[xalan_0_19_3D01, xalan_0_19_3D03.jar, xalan_0_19_4.jar] and the following
in the file : =

The file URL points to the sample.xsl file given in, as
installed on my system. cocoon runs on IRIX 6.5.

This is what I get:

<?xml-stylesheet href="sample.xsl" type="text/xsl"?>
<page title="Time of Day">
                                             To the best of my knowledge,
it's now

format="yy/MM/dd hh:mm:ss aa"></example:time-of-day>

<!-- This page was served in 748 milliseconds by Cocoon 1.7 -->

ps. Peter, please do me a favor and email me anything you can find to
make this work, I will do the same to you. Thanks.

Fabien Campagne      -- Dept. of Physiology and Biophysics,
phone: (212)-241-0860   Box 1218, Mount Sinai School of Medicine,
fax:   (212)-860-3369   One Gustave L. Levy Place,
---------------------   New York, NY 10029-6574 -----------------

View raw message