On 18 February 2010 13:41, ashok _ <[email protected]> wrote:
> Yeah it does miss the text if I do :
>
> .//text:change-start/following::*/text()[not(preceding::text:change/@text:change-id=$t)]
>
> instead if use : i.e. change following::*/text() to following::text() ..
>
> .//text:change-start/following::text()[not(preceding::text:change/@text:change-id=$t)]
>
> it always picks up the 'Change start' text ..
Last one.
<xsl:template match="text:section">
<xsl:variable name='t' select='.//text:change-start/@text:change-id'/>
<xsl:value-of
select="concat(.//text:change-start/following::text(),'
',.//text:change-start/following::*/text()[not(preceding::text:change/@text:change-id=$t)])"/>
</diff>
</xsl:template>
regards
--
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]