Subject: Re: [xsl] concat selected text nodes From: "Steve Renshaw" <renshaw_steve@xxxxxxxxxxx> Date: Fri, 20 Apr 2001 16:56:07 -0000 |
David, your code just returns "This is a" - nothing mroe. You code and my best effort is blw;
<xsl:template match="item"> <xsl:variable name="x"> <xsl:value-of select="text()|ver[@id=$ver]"/> </xsl:variable> <xsl:value-of select="$x"/><br/><br/>
<xsl:for-each select="//text()[parent::*/@id='1' or not(parent::*/@id)]"> |<xsl:value-of select="."/>|<br/> </xsl:for-each> </xsl:template>
Produces: This is a <- David
|This is a| <- |new| <- my best so far | sentance.| <-
_________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] concat selected text node, David Carlisle | Thread | Re: [xsl] concat selected text node, David Carlisle |
RE: [xsl] docbook.xsl by nwalsh and, Meltem Kogelbauer | Date | Re: [xsl] concat selected text node, David Carlisle |
Month |