Subject: Re: An XSL SAX? From: Paul Prescod <paul@xxxxxxxxxxx> Date: Sat, 12 Dec 1998 15:46:56 -0600 |
Andy Dent wrote: > > 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 > ... > > IOW a sequence of events for which I provide callbacks, rather than just > generating a lump of plain text. But XSL is more general than fonts, tables and other formatting objects. So of course the events have to be in terms of lower level constructs: start document start element font="helvetical bold 18" align="center" start text 'Andy Example' end font start element table width=4 But these events are identical to the ones you get with SAX. Your wish has already come true! > 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. SAX is the XSL equivalent of SAX. The result of applying an XSL stylesheet is elements, attributes, processing instructions, comments and other such constructs. SAX is a fine API for discussing those constructs. So what is the problem? Paul Prescod - ISOGEN Consulting Engineer speaking for only himself http://itrc.uwaterloo.ca/~papresco "Sports utility vehicles are gated communities on wheels" - Anon XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
An XSL SAX?, Andy Dent | Thread | Re: An XSL SAX?, Andy Dent |
Re: An XSL SAX?, Andy Dent | Date | Re: syntax feedback, Paul Prescod |
Month |