[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Span apply

Subject: Re: Span apply
From: Alexey Nickolaenkov <nikolaenkov@xxxxxxxxxxxx>
Date: Mon, 22 Jan 2007 15:57:26 +0300
Re:  Span apply
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[@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[@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@xxxxxxxxxxxx

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.