forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Conal Tuohy <con...@paradise.net.nz>
Subject RE: Why do font, etc. instructions appear in XSL templates?
Date Wed, 18 Feb 2004 21:18:19 GMT
J.Pietschmann wrote:

> Moshe Yudkowsky wrote:
> > I am very puzzled by some of the reasoning in the xsl files
> that I've
> > found, however. The files contain instructions that I
> thought would be
> > properly delegated to the CSS files. For example, in
> > common/xslt/fo/document2fo.xls, we have
> >
> >   <xsl:template match="notice">
> >     <fo:block
> >       font-size="10pt"
> ...
> > In other words the font size is hard-coded and is not in CSS.
>
> XSLFO does not use CSS.

Perhaps the equivalent SoC could be achieved by moving all the formatting
attributes into named xsl:attribute-sets, then they could be in a separate
file linked with xsl:include, or in a separate pipeline stage even.

Con


Mime
View raw message