W3C home > Mailing lists > Public > www-xsl-fo@w3.org > January 2004

RE: use-attribute-sets in <fo:block>

From: Victor Vishnyakov <tch_@mail.ru>
Date: Tue, 13 Jan 2004 15:24:42 +0200
To: <www-xsl-fo@w3.org>
Cc: "'Elvira Nieto Carretero'" <encarretero@sadiel.es>
Message-ID: <000d01c3d9d8$9cff5b90$2500a8c0@ISLC.local>

1. You forget to add "7.25.17 region-name" to "6.4.13 fo:region-body",
"6.4.14 fo:region-before" and "6.4.15 fo:region-after"

2. I have truncated your XSLT to XSL-FO and it works fine( tested on
FOP, XEP, XSLF, Xml2PDF ) ... even without fixing "region-name"

<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:fox="http://xml.apache.org/fop/extensions">
	<fo:layout-master-set>
		<fo:simple-page-master master-name="minoticia"
page-height="29.7cm" page-width="21cm" margin-top="72pt"
margin-bottom="36pt" margin-left="72pt" margin-right="72pt">
			<fo:region-before extent="72pt"/>
			<fo:region-body margin-top="72pt"/>
			<fo:region-after extent="1cm"/>
		</fo:simple-page-master>
		<fo:page-sequence-master master-name="all">
			<fo:repeatable-page-master-alternatives>
				<fo:conditional-page-master-reference
master-reference="minoticia" page-position="first"/>
			</fo:repeatable-page-master-alternatives>
		</fo:page-sequence-master>
	</fo:layout-master-set>
	<fo:page-sequence master-reference="all">
		<fo:flow flow-name="xsl-region-body">
			<fo:table>
				<fo:table-column column-width="100%"
right=""/>
				<fo:table-body>
					<fo:table-row>
						<fo:table-cell>
	
<fo:block>tituo</fo:block>
						</fo:table-cell>
					</fo:table-row>
				</fo:table-body>
			</fo:table>
		</fo:flow>
	</fo:page-sequence>
</fo:root>

The errror might be either in your XML or in your stylesheet.


Regards,
Victor Vishnyakov



-----Original Message-----
From: www-xsl-fo-request@w3.org [mailto:www-xsl-fo-request@w3.org] On
Behalf Of Elvira Nieto Carretero
Sent: Tuesday, January 13, 2004 2:48 PM
To: www-xsl-fo@w3.org
Subject: xsl:use-attribute-sets in <fo:block>


Hello. I'm a spanish girl so my english is poor. Sorry about my english.

I am treating to assign styles to a block in a xsl fo file. My code is:

SKIPPED
Received on Tuesday, 13 January 2004 08:21:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:12 GMT