W3C home > Mailing lists > Public > xsl-editors@w3.org > October to December 2003

Re: Missing feature in XSL 1.1

From: Jirka Kosek <jirka@kosek.cz>
Date: Fri, 26 Dec 2003 22:22:40 +0100
Message-ID: <3FECA6A0.60505@kosek.cz>
To: xsl-editors@w3.org
>> quite easy extensions. Suppose that XSL-FO would have facility for 
>> creating auxiliary XML document. You will be able to add elements to 
>> this document by some FO like
>> 
>> <fo:pin class="image" id="p023"/>
>> 
>> This instruction will expand to element which content will be actual 
>> page number (e.g. 42):
>> 
>> <pin class="image" id="p023>42</pin>
>> 
> 
> Why not just add "inside" and "outside" values to attribute "float"?
> It is already done as an extension in RenderX XEP, and work quite well.

OK. For particular issue connected with floats your solution works well. 
But other requirements are not so easy to achieve by simple addition of 
property values. Quite general mechanism like auxiliary file (pins) can 
solve many different tasks. In my books I preffer to have dynamic 
crossreferences like:

see table 3.1
see table 3.1 on the following page
see table 3.1 on page 342

Text of crossreference depends on actual page number and on the page 
number of referenced object. This can be quite easily accomplished in 
other typesetting systems like TeX. AFAIK XSL-FO doesn't offer solution 
for this requirement, but auxiliary file and XSLT preprocessing can 
solve this. I will be glad if similar functionality will be at least 
optional feature of FO processors. It doesn't fit nicely into the 
current processing model of XSL-FO, but it is very powerfull feature.

					Jirka

-- 
-----------------------------------------------------------------
   Jirka Kosek  	
   e-mail: jirka@kosek.cz
   http://www.kosek.cz


Received on Friday, 26 December 2003 16:38:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:56 GMT