cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Kröpfl <pe...@groebi.com>
Subject multiple attributes with xsp:attribute xsp:param
Date Tue, 01 Jun 2004 17:56:59 GMT
Hi,

i am trying to build a tag with multiple attributes like that:

<link id="page.category.snowboarder" href="snowboarder/start">snowboarder</link>

(for i18n stuff)


I tried it this way

---8<-----------

<link>
 <xsp:attribute>
   <xsp:param name="name">id</xsp:param>
   page.category.<esql:get-string column="NAME"/>
 </xsp:attribute>
 <xsp:attribute>
   <xsp:param name="name">href</xsp:param>
   <esql:get-string column="NAME"/>/start
 </xsp:attribute>
 <esql:get-string column="NAME"/>
</link>

------------>8--

However, it does not work.
I could only generate one attribute, but not two, or more.

What's the problem with this code?


thanks,
peter


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message