xsl-list
[Top] [All Lists]

[xsl] Span apply

2007-01-22 05:53:09

Hi All,

How apply Span in XSLT

Input 
======

<SPAN style="font-size: 11pt; font-family:
verdana,arial,helvetica">Chapter I</SPAN>
<SPAN style="font-size: 10pt; font-family:
verdana,arial,helvetica">Section</SPAN>


My XSL
======

<xsl:template match="SPAN[(_at_)style='font-size.11pt']">
<chapter>
<xsl:apply-templates/>
</chapter>
</xsl:template>

<xsl:template match="SPAN[(_at_)style='font-size.10pt']">
<section>
<xsl:apply-templates/>
</section>
</xsl:template>

Want Output
===========

<chapter>Chapter I</chapter>
<section>Section I</section>

I have tried this option, but did not work.  Anyone find out the
solution

Thanks and Regards
Byomokesh






--~------------------------------------------------------------------
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>
--~--

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