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

conditional based html formated output - reg

Subject: conditional based html formated output - reg
From: Ramesh Kumar <cnrameshkumar@xxxxxxxxx>
Date: Fri, 2 Apr 2010 14:31:24 +0400
 conditional based html formated output - reg
Dear All,

Can anyone help me to clear the error in the below xsl template.
I am trying to create a table. The cells are created based on key value.
So i need to start a row <TR> based on a condition.
Also the end tag </TR> for that row will be based on another condition.
But without end tag </TR> the <xsl:if> element is giving error.

	<xsl:template name="FrameMatrix">
		<xsl:param name="rowkey"/>
		<xsl:param name="seqkey"/>
		<xsl:param name="colkey"/>
		<xsl:if test="not(contains($RowKeyList, concat(',', rowkey)))">
					<xsl:value-of select="RowKey"/>
					<xsl:value-of select="CategoryName"/>

		<xsl:for-each select="key('col-name', concat($colkey, $rowkey, $seqkey))">
			<xsl:call-template name="data" />

		<xsl:if test="not(contains($RowKeyList, concat(rowkey, ',')))">



Current Thread


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.
First Name
Last Name
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.