|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: An XSL SAX?
>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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








