cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yann" <ylelo...@ims.ltd.uk>
Subject Re: link generation
Date Thu, 03 Aug 2000 13:08:10 GMT
<xsp:element name="a">
    <xsp:attribute name = "href">
        <xsp:expr>getSomeDynamicURL()</xsp:expr>
    </xsp:attribute>
</xsp:element>

Is that what you want to achieve?

Of course your stylesheet will need to map the XSP <a> tag to an HTML <a>
tag (assuming HTML is your output format).

Yann.

----- Original Message -----
From: David Dupuy <ddupuy@baan.com>
To: <cocoon-users@xml.apache.org>
Sent: Thursday, August 03, 2000 1:53 PM
Subject: link generation


> hi,
>
> Does somebody know how to generate dynamically links that means the tag
"a".
> I tried to use <xsp:attribute> and so one, but without any success. I've
got
> the same architecture than in the cocoon example called "First XSP Page
> (pure content version)". If somebody has an example....
> Sorry for these stupid questions.:))
>
> thx
>
> David
>
> ---------------------------------------------------------------------
> 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