Subject: [xsl] omitting a piece of text From: Jim_Albright@xxxxxxxxxxxx Date: Fri, 30 Jan 2009 09:39:45 -0500 |
Problem area 1.1-3 Current output: <p> <span class="current_ref_in_footnote">1.1-3</span>1.1-3Ou<span class="Alternate"Quando Deus co........</span> </p> How do I exclude the "1.1-3" the second time? Desired output: <p> <span class="current_ref_in_footnote">1.1-3</span> Ou<span class="Alternate"Quando Deus co........</span> </p> or <p> <span class="current_ref_in_footnote">1.1-3 </span>Ou<span class="Alternate"Quando Deus co........</span> </p> source XML No principio Deus criou os ceus e a terra.<PW guid="5775" style="Notes" width="3" height="1.5" title="Popup">1.1-3<HR/>Ou <PN data="Alternate"Quando Deus come..................</PN><LT>*</LT></PW> In my XSLT I match PW <xsl:element name="p"> <span class="current_ref_in_footnote"> <xsl:apply-templates select="text()[1]"/> </span> <xsl:apply-templates/> </xsl:element> Jim Albright 704 843-0582 JAARS, Speeding Bible Translation Wycliffe, Partners in Bible Translation
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] [ANN] XML Prague final progra, Jim Fuller | Thread | RE: [xsl] omitting a piece of text, Michael Kay |
Re: [xsl] Filtering RSS feed with x, jo lemen | Date | RE: [xsl] Filtering RSS feed with x, Michael Kay |
Month |