Usage of @class and @style in XSL-FO

Hello.

I was wondering, why XSL-FO doesn't allow classes and style attributes
in its elements. Of course, I'm aware that this is intended to be done
by XSLT, but still it would be more simple for creating, editing and
maintenance of the code, if there could be a central point that defines,
e.g., the layout of all fo:block elements.

So, and to pull a parallel to SVG, I think class and style attributes as
well as a style element in the fo:layout-master-set are a useful and
important extension, when it comes to XSL-FO 1.1 or 2.0.

Best regards
Manuel Strehl

Received on Friday, 14 July 2006 19:47:42 UTC