[xep-support] Bad attribute start-indent: Cannot add type Length to type Word
Oliver Becker
obecker at informatik.hu-berlin.de
Fri Feb 27 05:52:41 PST 2004
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 at informatik.hu-berlin.de |
| op|qo WWW: http://www.informatik.hu-berlin.de/~obecker |
\-------------------------------------------------------------------/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lists.fo
Type: application/octet-stream
Size: 2417 bytes
Desc: lists.fo
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20040227/c359e304/attachment.obj>
More information about the Xep-support
mailing list