cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlos M. S. Bento Nogueira" <cm...@student.dei.uc.pt>
Subject cforms: xsl scope problem
Date Wed, 08 Jun 2005 02:03:26 GMT
I have in a xml file the following code snippet:
 	<fd:selection-list>
 		<fd:item value="Dcor" />
 		<row> </row>
to check each item on this selection list i do <xsl:for-each 
select="fi:selection-list/fi:item">
how do i check the presence of the row tab which is inside the scope of 
the selection list??

I've tried
<xsl:variable name="rowExists" select="boolean(fi:selection-list/row)"/>
<xsl:for-each select="fi:selection-list/fi:item">
<xsl:if test="$rowExists">...</>
and it doesn't work.

My goal is to insert line or column breaks between items.

Notes: using cocoon 2.1.7. cforms
        using apache tomcat 5.5

T.I.A. ,
CarlosN.

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


Mime
View raw message