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

From
"Cob Rtayton"
Date
2005-12-13T20:54:46+00:00
ID
00ec01c60027$5a9fbb60$6400a8c0@toshiro
Thread
Re: [docbook-apps] Problem while customizing title's procedure
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.

Bob Stayton
Sagehill Enterprises
DocBook Consulting


----- Original Message ----- 
From: "Mich鋩e 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鋩e

---------------------------------------------------------------------
To unsubscribe, e-mail: 
For additional commands, e-mail: