[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: 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
bobs@sagehill.net
----- Original Message -----
From: "Michèle Garoche" <michele.garoche@easyconnect.fr>
To: "docbook-apps" <docbook-apps@lists.oasis-open.org>
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: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]