Subject: Re: [xsl] count selected nodes in for-each From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Wed, 04 Apr 2001 11:28:55 +0100 |
I have this for-each sequence that filters the data when select statement is true.
<xsl:for-each select="document('../../released_xml/news_xml_en/newsticker.xml')/News/Block [@STARTDATE = '01']"> blabla </xsl:for-each>
Now, I want to know into how many nodes this for-each results, with the purpose to use that number in this selection: <xsl:choose> <xsl:when test="previous_amount_nudes = 0">blabla</xsl:when> </xsl:choose>
Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] count selected nodes in for-e, Kristof Bernaert | Thread | Re: [xsl] count selected nodes in f, David Carlisle |
RE: [xsl] XSLT hosting, Daniel Newman | Date | [xsl] IE msxml3 error with xsl tran, cutlass |
Month |