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

RE: Non-XML XSL output

Subject: RE: Non-XML XSL output
From: "Jonathan Borden" <jborden@xxxxxxxxxxxx>
Date: Sun, 28 Feb 1999 14:47:25 -0500
css fill
>
> It seems pretty simple to convert a tree representation of style
> properties, say
>
> rect
> 	css:fill="red"
> 	css:fill-opacity="20%"
>
> into:
>
> <rect style="fill: red; fill-opacity:20%;"/>
>
> instead of just
>
> <rect css:fill="red" css:fill-opacity="20%"/>
>
> It also seems like it might be reasonable to support this for other
> formats, including HTML.  Unfortunately, it doesn't seem likely result-ns
> of http://www.w3.org/TR/REC-html40 doesn't provide any support for these
> kinds of output, as far as I can tell.  A processor fed a result-ns value
> of http://www.w3.org/TR/WD-SVG might know to do it, but we have no way of
> telling it to do it or knowing whether it could do it.

	Another way to accomplish this is to create an CSS and or FO -> SVG
stylesheet.

	Generation of this type of style attribute would be facilitated if string
manipulation facilities were added to XSL, otherwise how to transform a tag
name such as "css:fill" into "fill" as part of an attribute string.

	Currently there is no real ability to extract substrings, search strings or
match regexps unless we escape to javascript and even then it gets a bit
hairy in XSL.



Jonathan Borden
http://jabr.ne.mediaone.net



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

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
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.