Re: [xsl] Novice Question - matching entire text children

Subject: Re: [xsl] Novice Question - matching entire text children
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Mon, 27 Dec 2010 12:24:05 -0500
On 12/22/2010 7:18 PM, Michael Kay wrote:
Yes but I think it will fail if /a has only one text node child, since
concat() will only have one argument in that case.

Not so: it will still have K arguments, the fact that K-1 of them evaluate to an empty string is immaterial.

Tarnation! Wrong twice in one thread! (Empty node set casts to empty string.) The holiday season must be getting to me.


I wonder what else I can say to make it a three-fer. "XSLT is so frustrating: no normal person can learn it."

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