
Código PHP:
<xsl:variable name="titulodestacado" select="font-family='Verdana, Arial, Helvetica, sans-serif' font-size='12pt' color='#444343' text-transform='uppercase' font-weight='bold'"/>
<xsl:variable name="resumendestacado" select="font-family='Verdana, Arial, Helvetica, sans-serif' font-size='10pt' color='#444343' text-decoration='none' text-align='justify'"/>
<xsl:variable name="fechaPub" select="font-family='Verdana, Arial, Helvetica, sans-serif' font-size='10pt' color='#444343' font-weight='bold' text-align='right'"/>
<xsl:variable name="parrafo" select="font-family='Verdana, Arial, Helvetica, sans-serif' font-size='10pt' color='#444343' text-decoration='none' text-align='justify'"/>

Código PHP:
<xsl:template match="titulo">
<fo:block>
<xsl:apply-templates/>
</fo:block>
</xsl:template>
<xsl:template match="resumen">
<fo:block>
<xsl:apply-templates select="texto"/>
</fo:block>
</xsl:template>
<xsl:template match="fechaPublicacion">
<fo:block>
Andalucia, <xsl:apply-templates/>
</fo:block>
</xsl:template>


Creía que con hacer
Código PHP:
<xsl:template match="titulo">
<fo:block {$titulodestacado}>
<xsl:apply-templates/>
</fo:block>
</xsl:template>
<xsl:template match="resumen">
<fo:block {$resumendestacado}>
<xsl:apply-templates select="texto"/>
</fo:block>
</xsl:template>
<xsl:template match="fechaPublicacion">
<fo:block {$fechaPub}>
Andalucia, <xsl:apply-templates/>
</fo:block>
</xsl:template>


Alguna sugerencia o tutorial del manejo de variables en XSL?

Un beso
