cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Sergeant <m...@sergeant.org>
Subject Re: xsp:element limitations
Date Tue, 09 Jan 2001 11:31:25 GMT
On Tue, 9 Jan 2001, Torsten Curdt wrote:

> Right now I feel very constricted by the use
> of the xsp:element tag. I think something like
> the following should be possible.
>
>       <xsp:logic>
>         Vector _items;
>
>         <xsp:element name="itemlist">
>           <xsp:attribute name="name"><xsl:value-of
> select="$listname"/></xsp:attribute>
>
>           for(int _i = 0; _i < _items.size(); _i++ ){
>             String _item = (String)_items.elementAt(_i);
>
>             <xsp:element name="item">
> 	        <xsp:attribute
> name="attr"><xsp:expr>_somevariable</xsp:expr></xsp:attribute>
>               <xsp:content><xsp:expr>_item</xsp:expr></xsp:content>
>             <xsp:element/>
>
>           }
>         </xsp:element>
>       </xsp:logic>
>
> Votes and comments please!

Changes to XSP should be discussed on the XSP-dev list. Drop an email to
xsp-dev-subscribe@xml.apache.org

-- 
<Matt/>

    /||    ** Director and CTO **
   //||    **  AxKit.com Ltd   **  ** XML Application Serving **
  // ||    ** http://axkit.org **  ** XSLT, XPathScript, XSP  **
 // \\| // **     Personal Web Site: http://sergeant.org/     **
     \\//
     //\\
    //  \\



Mime
View raw message