This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
concat selected text nodes
- To: xsl-list at lists dot mulberrytech dot com
- Subject: [xsl] concat selected text nodes
- From: "Steve Renshaw" <renshaw_steve at hotmail dot com>
- Date: Fri, 20 Apr 2001 15:47:32 -0000
- Reply-To: xsl-list at lists dot mulberrytech dot com
Tryng to form an XPath that retuns string from
following XML:
<item>This is a<ver id="0">n old
</ver> <ver id="1">new</ver> sentance.</item>
When $ver='0' return "This is an old sentance."
When $ver='1' return "This is a new sentance.
Play with select="concat(...)" and select="item[...]" and
text() -> no luck. Basically need to concatenat all text
nodes whose parent don't have ver attribute or the version
attribute eqls $ver. Any hlp?
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list