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

Re: Future of XSL-FO at W3C??


attribute xsl fo
bryan wrote:
 > .exampleblock{background-color:red;font-size:10pt;}
 > .exampleblock fo:block{background-color:green;}
 >
 > <xsl:template match="p">
 > <fo:block>
 > <xsl:apply-templates/>
 > </fo:block></xsl:template>
 >
 > <xsl:template match="section">
 > <fo:block class="exampleblock">
 > <xsl:if test="parent::section"><xsl:attribute
 > name="font-size">13pt</xsl:attribute></xsl:if>
 > <xsl:apply-templates/>
 > </fo:block>
 > </xsl:template>

C'mon, you read all the specs?
<xsl:attribite-set name="exampleblock">
   <xsl:attribute name="background-color">red</xsl:attribute>
   <xsl:attribute name="font-size">10pt</xsl:attribute>
</xsl:attribite-set>

<xsl:template match="section">
   <xsl:element use-attribute-sets="exampleblock" name="fo:block">
     ...

 > Hmm I can somewhat see the point of what you say there, but not really.
 > SVG is a styled object as well, in that in the final analysis it
 > consists of tags that have some specific presentation inherent to them,
 > just as indeed HTML does, yet these can still be styled further.

I don't always consider using CSS an advantage of SVG. It makes dynamic
SVG easier, roughly as DHTML, but if you are shuffling DOM trees from
different producers around, the abomination called "styled DOM" is more
often a PITA than not. It should have never left the place on the tag
soup shores.

J.Pietschmann



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.