[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: Paul Prescod <paul@xxxxxxxxxxx>
Date: Sat, 12 Dec 1998 15:46:56 -0600
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


Current Thread
  • An XSL SAX?
    • Andy Dent - Thu, 10 Dec 1998 16:00:47 +0800
      • Paul Prescod - Sat, 12 Dec 1998 15:46:56 -0600 <=
        • Andy Dent - Tue, 15 Dec 1998 15:39:35 +0800
      • Chris Maden - Sun, 13 Dec 1998 19:15:42 -0500 (EST)
        • Andy Dent - Tue, 15 Dec 1998 15:47:44 +0800
      • <Possible follow-ups>
      • James Tauber - Fri, 11 Dec 1998 22:44:16 +0800

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.