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

[no subject]

From: Littlefield@xxxxxxxxxxxxxxxxxxxxxxxxxxx
Date: Tue, 23 Oct 2001 12:10:08 +0200
display none two rows
<element id="42" Description="Sales Variance" type="1" cube="0" close="">
	<data id="0" date="11/05/2002" value="0000" quantity="0000"/>
	<data id="1" date="18/05/2002" value="0000" quantity="0000"/>
	<data id="2" date="25/05/2002" value="0000" quantity="0000"/>
</element>
<element id="43" Description="Lower Limit" type="2" cube="0" close="">
	<data id="0" date="11/05/2002" value="-15000" quantity=""/>
	<data id="1" date="18/05/2002" value="-15000" quantity=""/>
	<data id="2" date="25/05/2002" value="-15000" quantity=""/>
</element>
<element id="44" Description="Upper Limit" type="2" cube="0" close="true">
	<data id="0" date="11/05/2002" value="15000" quantity=""/>
	<data id="1" date="18/05/2002" value="15000" quantity=""/>
	<data id="2" date="25/05/2002" value="15000" quantity=""/>
</element>

<xsl:if match=".[@type='1']">
	<table border="0" cellspacing="1" cellpadding="1"><td></td></table>
	<div style="display:none;"><table border="0" cellspacing="1" cellpadding="1">
</xsl:if> 
<xsl:if match=".[@type='2']">
	<div style="display:none;"><table border="0" cellspacing="1" cellpadding="1">
	<tr><xsl:for-each select="./data"><td ><input type="text"></input></td></xsl:for-each></tr>
</xsl:if>
<xsl:if match=".[@close='true']">
	<tr><xsl:for-each select="./data"><td><input type="text"></input></td></xsl:for-each></tr>
	</table></div>			
</xsl:if>

A type 1 will always be followed by a type 2 and there will always be two type 2's. The type 2's need to be included within a div tag as the two rows are hidden and only displayed when the user clicks a corresponding row in a different frame. The fact that the closing tag is included in a different xsl tag seems to pose a problem. Any help!


_______________________________________________________________________
Never pay another Internet phone bill!
Freeserve AnyTime, for all the Internet access you want, day and night, only £12.99 per month.
Sign-up at http://www.freeserve.com/time/anytime



 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.