Subject: [xsl] concat selected text nodes From: "Steve Renshaw" <renshaw_steve@xxxxxxxxxxx> Date: Fri, 20 Apr 2001 15:47:32 -0000 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] creating hyperlinks of xm, Meltem Kogelbauer | Thread | Re: [xsl] concat selected text node, David Carlisle |
RE: [xsl] creating hyperlinks of xm, Jeremy Jongsma | Date | [xsl] producing xhtml using xsl, Andrew Welch |
Month |