RE: use-attribute-sets in

Thanks, Victor by to respond so fast.

It seems that before I did not explain very well my question. My code fails when i add the code corresponding to 

<xsl:attribute-set name="titulodestacado">

<xsl:attribute name="font-size">12</xsl:attribute>

<xsl:attribute name="text-align">justify</xsl:attribute>

<xsl:attribute name="font-family">Verdana, Arial, Helvetica, sans-serif</xsl:attribute>

<xsl:attribute-set name="text-decoration">none</xsl:attribute-set>

<xsl:attribute-set name="font-weight">bold</xsl:attribute-set>

<xsl:attribute-set name="text-transform">uppercase</xsl:attribute-set>

<xsl:attribute-set name="color">#444343</xsl:attribute-set>

</xsl:attribute-set>

and when i use xsl:use-attribute-sets in



<xsl:template match="titulo">

<fo:block xsl:use-attribute-sets="titulodestacado">

<xsl:apply-templates/>

</fo:block>

</xsl:template>



Do you understand me now?



If I eliminate that code, my code run perfectly and i need use it.

A example code of my xml is:

<?xml version="1.0"?>

<noticia>

<titulo>Educacion invertira 33 millones en nuevas infraestructuras docentes en la provincia de Cadiz</titulo>

</noticia>

It's very simple, isn't it?

Thanks

Received on Tuesday, 13 January 2004 10:38:46 UTC