[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Future of XSL-FO at W3C??
At 2002-10-18 15:27 +0100, Ian Tindale wrote: >On Friday 18 October 2002 3:16 pm, bryan wrote: > > <fo:stylesheet> > > > > fo:block{space-before.optimum:5pt; space-after.optimum:3pt;} > > .Section2{space-before.optimum:7pt;border-start-color:red; > > border-start-width:2px;} > > .bodyblock block{border-start-width:1px;} > > .Title{width:44pt;height:75pt;background-color:blue;color:white;} > > #section1body22{margin-top:11mm;} > > </fo:stylesheet> > >I wonder how easy it would be to write an XSLT transformation that eats the >above and sorts out FO properties in the right places? Not easy at all ... XSLT 1.0 is designed very well to work with node trees and not very well to work with strings. >After all, the input >to XSLT doesn't have to be 'proper' XML, doesn't it? It is an absolute requirement to have well-formed XML. >(or even XML at all, come to that). It must be XML ... no exceptions. The node trees I mentioned above are the abstractions of the XML documents ... XSLT and XPath are designed to work with the abstractions, not with strings ... they aren't designed to manipulate the angle brackets of XML, just the XML constructs represented by the angle brackets. >Thus you could write a CSS stylesheet and use it as a >pre-phase for the true XSLT transform, to generate a simple immediate library >of properties as entity replacements. Maybe? Nope. ................. Ken -- G. Ken Holman mailto:gkholman@C... Crane Softwrights Ltd. http://www.CraneSoftwrights.com/x/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) ISBN 0-13-065196-6 Definitive XSLT and XPath ISBN 0-13-140374-5 Definitive XSL-FO ISBN 1-894049-08-X Practical Transformation Using XSLT and XPath ISBN 1-894049-10-1 Practical Formatting Using XSL-FO Next public training: 2002-12-08,2003-02-03,06,03-03,06
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|