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

Re: for-each issue

Subject: Re: for-each issue
From: "Z W" <mpc8250@xxxxxxxxx>
Date: Thu, 27 Mar 2008 08:09:55 -0700
Re:  for-each issue

I'm not sure why template cur_count_cifo doesnt work but template
	<xsl:template name="cur_time_duration_cifo">
works fine with the same syntax as cur_count_cifo. I'm not sure what I do wrong


					<xsl:when test="number($value)=1">
						<xsl:call-template name="cur_time_duration_cifo">
							<xsl:with-param name="value"/>
					<xsl:when test="number($value)=2">
						<xsl:call-template name="cur_time_duration">
							<xsl:with-param name="value"/>


						<xsl:when test="number($value)=1">
							<!-- xsl:value-of select="$count" / -->							

							<xsl:call-template name="cur_count_cifo">
								<xsl:with-param name="value"/>

	<xsl:template name="cur_count_cifo">
		<xsl:param name="value"/>

		<!-- xsl:value-of select="$currentJTL_cifo"/ -->
select="document($currentJTL_cifo)/testResults/*[not(@label =
			<xsl:variable name="label" select="@label" />
			<xsl:variable name="count1"
select="count(document($currentJTL_cifo)/testResults/*[@label =
current()/@label][attribute::label='Client Init'])" />
select="document($currentJTL_cifo)/testResults/*[@label =
current()/@label][attribute::label='Client Init']"/>
		<xsl:value-of select="$value"/>
		<!-- xsl:if test="position() = last()">
			<xsl:call-template name="display-number">
				<xsl:with-param name="value" select="$count1"/>

			<!-- or xsl:value-of select="$timeSpan"/ -->


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.