Re: [xsl] Span apply

Subject: Re: [xsl] Span apply
From: Florent Georges <darkman_spam@xxxxxxxx>
Date: Mon, 22 Jan 2007 13:58:44 +0100 (CET)
Byomokesh rwrote:

  Hi

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

> <xsl:template match="SPAN[@style='font-size.11pt']">

  That matches SPAN elements where the value of the style
attribute is exactly the string 'font-size.11pt'.  Maybe the
following can help you:

    <xsl:template match="SPAN[contains(@style, 'font-size: 11pt')]">

  If you want a more generic way of matching the format of
the style attribute, you can use XSLT 2.0 and matches(), for
example to match also strings like the following (note the
two spaces):

    style="font-size:  11pt;"

  Regards,

--drkm



















	

	
		
___________________________________________________________________________ 
Dicouvrez une nouvelle fagon d'obtenir des riponses ` toutes vos questions ! 
Profitez des connaissances, des opinions et des expiriences des internautes sur Yahoo! Questions/Riponses 
http://fr.answers.yahoo.com

Current Thread