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

Re: An XSL SAX?

Subject: Re: An XSL SAX?
From: "James Tauber" <jtauber@xxxxxxxxxxx>
Date: Fri, 11 Dec 1998 22:44:16 +0800
sax xsl net
>Given a couple of months away from the problem, it seems to me that what's
>needed (by us at least) is an equivalent of SAX.
>
>ie: I need an event stream that says something like (ignore the syntax,
>this is conceptual only):
>start document
>start font centred Helvetica Bold 18
>text 'Andy Example'
>end font
>start table 4 cols

I don't understand. If you just represent the XSL result tree as XML (as XSL
engines like XT and Koala do) you can just use a SAX parser to read the XML.

This is what FOP does. It uses SAX to take an XML document coming out of XT:
    <fo:block
        font-family="Helvetica"
        font-weight="bold"
        font-size="18pt"
        text-align
    >Andy Example</fo:block>

and FOP has an event handler for block objects, etc.

James
--
James Tauber / jtauber@xxxxxxxxxxx / www.jtauber.com
Associate Researcher, Electronic Commerce Network
Curtin University of Technology, Perth, Western Australia

Maintainer of : www.xmlinfo.com,  www.xmlsoftware.com and www.schema.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.