Subject: Re: Selecting first descendant text node
From: Christian Roth <roth@xxxxxxxxxxxxxx>
Date: Sat, 12 Jan 2002 12:17:47 +0100
|
Hi Wendell,
>>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.
Probably the expression is correct for XPath, but my XSLT processor (as
mentioned, Xalan 2.1.0) reports an parse/expression error if I put this
into the match attribute. Is this a bug of that processor?
(Btw, Oleg provided a working solution for now, so I'll use that for the
moment.)
Regards, Christian.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|