[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Future of XSL-FO at W3C??


xsl space after.optimum
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!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.