xsl-list
[Top] [All Lists]

Re: recursive counter not incrementing

2004-12-08 13:50:47
Hi Chris,

At 01:55 PM 12/8/2004, you wrote:
<xsl:with-param name="s1" select="$s1/item[following-sibling]"/>


Can you say what this select is supposed to select?

What it's actually selecting is all the 'item' children of $s1 that have child elements named 'following-sibling'.

Since you don't have any of those, when the template recurses, $s1 is empty.

Cheers,
Wendell



======================================================================
Wendell Piez                            
mailto:wapiez(_at_)mulberrytech(_dot_)com
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
======================================================================


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--