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]

concat selected text nodes


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


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