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

@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.

Glen

Manuel Strehl wrote:

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