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
________________________________________________________________________