cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edas Pazera" <e...@usa.net>
Subject RE: <xsp:attribute> question
Date Sat, 03 Jun 2000 16:58:32 GMT
Not quite.

The code you supplied results in...

<element attribute="id"></element>

...but I want

<my_element my_attribute="my_value"/>

-----Original Message-----
From: Mike Engelhart [mailto:mengelhart@earthtrip.com]
Sent: Saturday, June 03, 2000 12:02 PM
To: cocoon-users@xml.apache.org
Subject: Re: <xsp:attribute> question

??  I think you just answered your own question
<xsp:logic>
    String myAttribute = "id";
</xsp:logic>
<element>
    <xsp:attribute 
name="attribute"><xsp:expr>myAttribute</xsp:expr></xsp:attribute>
</element>


Is that what you were asking??

mike


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