This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Turning off "type=disc" attribute in UL


It looks as if the css.decoration parameter tries to control the type="disc" attribute output with UL. However, the test doesn't seem to have any effect; flipping the value between 1 and 0 makes no difference.

I've checked for single/double quoting issues pretty throughly.

In fact, if I copy the template to my customization layer and chop out the entire block as seen between comments, below, the type="disc" is *still* output.

Should I be looking somewhere else for list-related behaviours? Why isn't my customized version of the itemizedlist template being executed?

Here is the itemized list template from lists.xsl in the html set:

xsl:template match="itemizedlist">
<div class="{name(.)}">
<xsl:call-template name="anchor"/>
<xsl:if test="title">
<xsl:call-template name="formal.object.heading"/>
</xsl:if>

<xsl:apply-templates select="*[not(self::listitem or self::title)]"/>

<ul>
<!-- customization = remove attribute and space generation logic
<xsl:if test="$css.decoration != 0">
<xsl:attribute name="type">
<xsl:call-template name="list.itemsymbol"/>
</xsl:attribute>
</xsl:if>

<xsl:if test="@spacing='compact'">
<xsl:attribute name="compact">
<xsl:value-of select="@spacing"/>
</xsl:attribute>
</xsl:if>
-->
<xsl:apply-templates select="listitem"/>
</ul>
</div>
</xsl:template>



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]