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

Re: Future of XSL-FO at W3C??


future of xsl fo


> I think the basic argument is that there is a particular division of
> labor that the existence of CSS/XSLT/Markup Language  has encouraged. It
> is a division of labor that we see with Open Ebook, with Html/Xhtml, we
> can even see it with SVG. We do not see it with XSL-FO,

> I can not ever consider this as anything but a mistake.


Surely xsl-fo is a _result_ of that division how can you say that XSL
does not support the division of content markup and styling?
 

> Future of XSL-FO at W3C, I
> suggest XSL-FO 2 allows CSS styling.

I find this a bizarre suggestion!

compare, 

CSS styled:

   x {
   display: block;
   text-align: right;}
   ....

   <x> ..... </x>


and XSL styled

   <xsl:template match="p">
   <fo:block text-align="right">
     <xsl:apply-templates/>
   </fo:block>
   </xsl:template>
   ....

   <x> ..... </x>


In what way is the separation in CSS greater?

In this simple example it is essentially the same: just a syntactuc
difference but in general the XSL version is more flexible and more
powerful as being XML it is much more amenable to automated processing
and Xpath selction possibilities are more unifiform and more powerful
than the rather ad hoc collection of css selection constructs.


XSL-FO is a linearisation of the _result_  it would be peverse indeed to
state that the result of applying FO formatting could not be a styled
object but rather something to which you had to apply a stylesheet in a
different language.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

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.