|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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?
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








