W3C home > Mailing lists > Public > www-xsl-fo@w3.org > January 2004

RE: use-attribute-sets in

From: Elvira Nieto Carretero <encarretero@sadiel.es>
Date: Tue, 13 Jan 2004 16:38:36 +0100
Message-ID: <000e01c3d9eb$4f908880$420210ac@sadiel.es>
To: <www-xsl-fo@w3.org>
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>


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

<xsl:template match="titulo">

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




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"?>


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


It's very simple, isn't it?

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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:58:28 UTC