From: Oliver Becker (obecker@informatik.hu-berlin.de)
Date: Fri Feb 27 2004 - 05:52:41 PST
Hello!
(XEP 3.7.4)
I get a warning telling me
Bad attribute start-indent: Cannot add type Length to type Word
with the following construction:
<xsl:template match="li">
<fo:list-item space-before="0.2em">
<fo:list-item-label
start-indent="10pt + inherited-property-value(start-indent)"
end-indent="label-end()">
<fo:block>•</fo:block>
</fo:list-item-label>
<fo:list-item-body start-indent="body-start()">
<xsl:apply-templates />
</fo:list-item-body>
</fo:list-item>
</xsl:template>
This is an excerpt from a stylesheet that formats ul and li elements.
The warning appears only if I have nested lists (ul inside li), i.e.
the inherited-property-value function should return the value of the
body-start function in this case.
Attached you find a complete FO document.
Note: the bullet in the second level isn't properly indented.
Best regards,
Oliver
/-------------------------------------------------------------------\
| ob|do Dipl.Inf. Oliver Becker |
| --+-- E-Mail: obecker@informatik.hu-berlin.de |
| op|qo WWW: http://www.informatik.hu-berlin.de/~obecker |
\-------------------------------------------------------------------/
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
This archive was generated by hypermail 2.1.5 : Fri Feb 27 2004 - 06:07:35 PST