[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

html without endtags?

Subject: html without endtags?
From: "Åsa [asplistan]" <asplistan@xxxxxxxxxxx>
Date: Wed, 13 Jun 2001 10:17:52 -0000
html without
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



Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.