Next in thread → Next in month →

Re: [docbook-apps] Problem while customizing title's procedure

From
=?JRN-8859-1?P?[ich=F8le_Haroche?=
Date
2005-12-13T22:04:00+00:00
ID
Thread
Re: [docbook-apps] Problem while customizing title's procedure
Le 13 déc. 2005 à 21:54, Bob Stayton a écrit :

> I also sometimes get that message from xsltproc, and I have never  
> been able
> to figure out where the recursion is coming from.  I suspect it  
> might be a
> bug in xsltproc.
Oh, that reensures me. Thanks.

I've deleted the use-attribute-sets part, and the warning  
disappeared. I don't know though if it has any incidence.

>
> Bob Stayton
> Sagehill Enterprises
> DocBook Consulting
> 
>
>
> ----- Original Message -----
> From: "Michèle Garoche" <>
> To: "docbook-apps" <>
> Sent: Friday, December 09, 2005 4:52 PM
> Subject: [docbook-apps] Problem while customizing title's procedure
>
>
> Hello,
>
> Using docbook-xsl 1.69.1 and fop 0.25, I've tried to get a different
> spacing after the title for procedure (title is before procedure)
> while using the same values for other formal title properties'
> parameters, as following:
>
> <xsl:attribute-set name="formal.title.properties"
>                     use-attribute-sets="normal.para.spacing">
>    <xsl:attribute name="font-weight">bold</xsl:attribute>
>    <xsl:attribute name="font-size">10pt</xsl:attribute>
>    <xsl:attribute name="hyphenate">false</xsl:attribute>
>    <xsl:attribute name="space-after.minimum">
>      <xsl:choose>
>        <xsl:when test="self::procedure">0em</xsl:when>
>        <xsl:otherwise>inherit</xsl:otherwise>
>      </xsl:choose>
>    </xsl:attribute>
>    <xsl:attribute name="space-after.optimum">
>      <xsl:choose>
>        <xsl:when test="self::procedure">0em</xsl:when>
>        <xsl:otherwise>inherit</xsl:otherwise>
>      </xsl:choose>
>    </xsl:attribute>
>    <xsl:attribute name="space-after.maximum">
>      <xsl:choose>
>        <xsl:when test="self::procedure">0em</xsl:when>
>        <xsl:otherwise>inherit</xsl:otherwise>
>      </xsl:choose>
>    </xsl:attribute>
> </xsl:attribute-set>
>
> The pdf is rendered correctly, but xsltproc issues a warning:
> xsl:attribute-set : use-attribute-sets recursion detected
>
> Am I completely wrong doing it this way?
>
> Thanks in advance for your help,
>
> Michèle
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 
> For additional commands, e-mail: - 
> open.org
>
>
>
>
>

Amicalement,
Michèle
<http://micmacfr.homeunix.org>
Next in thread → Next in month →