Subject: RE: How to select text only for element with mixed content?
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Fri, 30 Jun 2000 10:21:14 +0100
|
> Thanks much for your help. Apprciate it. However,
> using jclark's XT, either version of text() (by
> itself or with normalization), only the
> text node before any element node is returned.
> Any text after an element node is ignored.
The text() expression returns a set of text nodes, but xsl:value-of prints
only the first one. To print all of them, use xsl:for-each.
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|