|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: An XSL SAX?
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
|
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








