W3C home > Mailing lists > Public > www-xsl-fo@w3.org > July 2006

Re: Usage of @class and @style in XSL-FO

From: Glen Mazza <gmazza@apache.org>
Date: Fri, 14 Jul 2006 17:53:12 -0400
To: www-xsl-fo@w3.org
Message-id: <44B81248.5050305@apache.org>

@class and @style do not appear to be xml-compliant.  A XML document in 
the XSL FO namespace still needs to follow proper XML syntax.

I think the functionality you are looking for is supported by the 
xsl:attribute-set and xsl:use-attribute-sets elements of XSLT, as 
explained here:  http://xml.sys-con.com/read/40601.htm.


Manuel Strehl wrote:

>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 21:55:11 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:58:30 UTC