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

Annotation to transformation (was Re: Future of XSL-FO)


css annotation
David Rosenborg writes:
>But when I think of it, we really don't have to wait for XSL-FO 2 for
>this to happen. XSL-FO++ (with CSS) could be handled in a preprocessor
>yielding XSL-FO 1.0 as its output.

I've been trying to get around to writing a toolkit that does pretty
much that, though probably with a limited (structure-only) set of
selectors.  

As fond as I am of the CSS annotation approach, it seems more and more
that some means of making those annotations explicit in the document
might be useful on occasion, especially in cases where we'd like to
further transform annotated documents.  

CSS is probably the most common case (and presentation-centric), but
it's not hard to see other cases where combining external annotations
with markup to produce markup explicitly annotated with attributes would
be a good thing.  Linkbases are another possible case, and I can at
least dream of interactions between XML documents and RDF.  

(The PSVI is another possibility, but its provision of additional
information about attributes makes it a lot more difficult to express as
XML without major structural changes to the document.  Linkbases
referencing ranges through XPointer also could make this difficult.)

The W3C has a (Java) CSS parser available:
http://dev.w3.org/cvsweb/2002/css-validator/

That may or may not be a good starting place for people who want to do
this kind of thing.  As I'm working on XML parsers and similar low-level
stuff right now, I suspect I'll end up writing my own parser... someday!

-------------
Simon St.Laurent - SSL is my TLA
http://simonstl.com may be my URI
http://monasticxml.org may be my ascetic URI
urn:oid:1.3.6.1.4.1.6320 is another possibility altogether

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.