Monday, January 22, 2007, 3:48:23 PM, you wrote:
B> Hi All,
B> How apply Span in XSLT
B> Input
B> ======
B> <SPAN style="font-size: 11pt; font-family:
B> verdana,arial,helvetica">Chapter I</SPAN>
B> <SPAN style="font-size: 10pt; font-family:
B> verdana,arial,helvetica">Section</SPAN>
B> My XSL
B> ======
B> <xsl:template match="SPAN[(_at_)style='font-size.11pt']">
B> <chapter>
B> <xsl:apply-templates/>
B> </chapter>
B> </xsl:template>
hehe <xsl:template match="SPAN[contains(@style,'font-size: 11 pt')]">
B> <xsl:template match="SPAN[(_at_)style='font-size.10pt']">
B> <section>
B> <xsl:apply-templates/>
B> </section>
B> </xsl:template>
<xsl:template match="SPAN[contains(@style,'font-size: 10 pt')]">
B> Want Output
B> ===========
B> <chapter>Chapter I</chapter>
B> <section>Section I</section>
B> I have tried this option, but did not work. Anyone find out the
B> solution
B> Thanks and Regards
B> Byomokesh
--
Alexey mailto:nikolaenkov(_at_)actimind(_dot_)com
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--