cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Bierenfeld <michael.bierenf...@atmiralis.de>
Subject Re: XSP parameterized tags ?
Date Mon, 17 Jul 2000 07:55:55 GMT
Alexandre Stouffs wrote:
> 
> Is there a way to have parameterized XSP tags ?
> 
> Thank you.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org

Maybe,


<eatthis name="chicken">

</eatthis>

or

<xsl:template match="dinner">

	<xsp:logic>

	while (dinner.hasMoreElements ()) {
		
		Course course = (Course) dinner.nextElement ();

		<eathhis>
			<xsp:attribute name="name">
				<xsp:expr>course.getName ()</xsp:expr>
			</xsp:attribute>
		</eatthis>
	}
	
	</xsp:logic>

</xsl:template>

What exactly are you asking for ;-)

Regards

Michael

Mime
View raw message