[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details

xslt conditional count

Asked by rogerperkins in Extensible Stylesheet Language Transformation (XSLT)

Tags: xslt xml xsl count variable

I thought this would be a good idea for a conditional count, but it just returns a blank page, is there any way to do this without using recursion, or would I have to use recursion?

<xsl:if test="Situs/text()"><xsl:variable name="x" select="1" /><xsl:value-of select="count($x)"/>.</xsl:if>
[+][-]10/20/09 11:38 AM, ID: 25617088Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/27/09 02:01 PM, ID: 25677417Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091021-EE-VQP-81 - Hierarchy / EE_QW_3_20080625