cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Dupuy <>
Subject RE: link generation
Date Fri, 04 Aug 2000 07:23:57 GMT

Here's the code in my xsp page...

		<xsp:element name="a">
    			<xsp:attribute name = "href">


and the mapping in my stylesheet...

<xsl:template match="a">
	<xsl:element name="a">
		<xsl:attribute name="href"><xsl:value-of select ="@href"

Where I have to put the text, the picture or anything else linked to ? I guess in the xsp page...but before or after the
xsp:attribute...I've tried already all the possibilities I think. Do I need
to use the xsp:content statement around the xsp:element statement in the xsp



-----Original Message-----
From: Yann []
Sent: 3. august 2000 15:08
Subject: Re: link generation

<xsp:element name="a">
    <xsp:attribute name = "href">

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


----- Original Message -----
From: David Dupuy <>
To: <>
Sent: Thursday, August 03, 2000 1:53 PM
Subject: link generation

> hi,
> Does somebody know how to generate dynamically links that means the tag
> I tried to use <xsp:attribute> and so one, but without any success. I've
> 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:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message