0
XSL FO中的一种方式是如何将所有相同的XSL FO元素一次样式化?源代码是XML格式。如何样式化所有相同的XSL FO元素? XSL FO喜欢CSS?
例:
<fo:table-row> {border-bottom: 1px solid #f0f0f0; }
INSTEAD OF:
<xsl:attribute-set name="border">
<xsl:attribute name="border-bottom">1px solid #f0f0f0</xsl:attribute>
</xsl:attribute-set>
它是一个很大的混乱总是使用xsl:use-attribute-sets
在所有地方与<fo:table-row>
。