Re: [xsl] match string

Subject: Re: [xsl] match string
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 20 Oct 2004 10:15:45 +0100
1.
<xsl:template match="chapter/section[1]/para[1]/*[1]/text()[1]" 
priority="1">

2.
<xsl:template match="para">

but now the output of the first paragraph looks like>
<p> <p> <b> Three words are </b> here </p> </p>


you didn't show your templates but clearly the one matching text()
shouldn't be inserting a p element node since that will have been done
by the second template

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread