This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

html without endtags?


Hi,
This is my problem: I have a for-each that in each part of the loop has to 
create a new <tr><td></td></tr> at a certain condition the td has to stay 
open for one extra turn in the loop. and the close the turn after. Of course 
it is not acceptable to do this, since it leaves the td open, without an 
endtag...

Basically like this for each turn in the loop:

<xsl:if test="not(@status[.='1'])"><tr><td></xsl:if>
   <a href="{@PictureLink}"><img src="{@picture}" alt="{@alt}"/></a>
<xsl:if test="not(@status[.='2'])"></td></tr></xsl:if>

It does not work to put CDATA around...

maybe someone knows some way around it?

Kindly Åsa


_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]