Re: [xsl] recursive counter not incrementing

Subject: Re: [xsl] recursive counter not incrementing
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Wed, 08 Dec 2004 15:50:47 -0500
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@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