This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: How to select text only for element with mixed content?


> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]