Re: [xsl] Selecting first descendant text node

Subject: Re: [xsl] Selecting first descendant text node
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Fri, 11 Jan 2002 16:49:20 -0500
Christian,

At 09:23 AM 1/11/02, you wrote:
[some stuff, then]
So, how do I select the first (in document order) of all of the
descendant text nodes of an element?

(item//text())[1] should do that.


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
======================================================================


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread