xsl-list
[Top] [All Lists]

Re: match string

2004-10-20 02:15:45
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
________________________________________________________________________


<Prev in Thread] Current Thread [Next in Thread>