Lists Home |
Date Index |
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
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:
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:184.108.40.206.4.1.6320 is another possibility altogether