"recursively" is the answer. You need to write a recursive template that you call when your style string contains a semi-colon (;). That template then generates multiple <fo:inline> elements until the style string runs out of semi-colons.
Jay Bryant Bryant Communication Services [EMAIL PROTECTED] 11/24/2004 09:21 AM Please respond to [EMAIL PROTECTED] To [EMAIL PROTECTED] cc Subject Applying multiple styles using span tag problem Hi I have a span tag which looks like <span style="font-family:Times;text-decoration:underline">Thank you for investing in our services</span> In my xsl-fo I have templates as <xsl:template match="html:[EMAIL PROTECTED]'text-decoration:underline']"> <fo:inline text-decoration="underline"> <xsl:apply-templates/> </fo:inline> </xsl:template> <xsl:template match="html:[EMAIL PROTECTED]'font-family: Times; font-size: 12pt']|html:[EMAIL PROTECTED]'font-size:Normalpt']"> <fo:block font-size="12pt" font-family="Times"> <xsl:apply-templates/> </fo:block> </xsl:template> But only one of them is getting applied.I want to know how both the styles can be applied recursively. Thanks and Regards Rohit --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]