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

An XSL SAX?

Subject: An XSL SAX?
From: Andy Dent <dent@xxxxxxxxxxxxxxx>
Date: Thu, 10 Dec 1998 16:00:47 +0800
sax ie
I'm still struggling to come to terms with a more general model of XSL
engines, given our context which is recording reports in XML and rendering
them to a variety of media (Mac or Win GUI, RTF & HTML 3.0).

So much of what's written assumes an XSL engine that generates either HTML
or XML, but anyway some textual form. (Which led a friend to say recently
that XSL is used solely to generate HTML!)

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
...

IOW a sequence of events for which I provide callbacks, rather than just
generating a lump of plain text.

My single biggest problem is that we can't use Java - this has to be C or
C++ for embedding in a shrinkwrap application. (Yes I know about expat and
we're already using it for parsing pure XML.) Maybe a Java->C++ conversion
is the way to go.

Am I completely off-base here, or is this seen as the way to go to provide
more general rendering of XSL other than by web browsers?
Andy Dent BSc MACS AACM, Software Designer, A.D. Software, Western Australia
OOFILE - Database, Reports, Graphs, GUI for c++ on Mac, Unix & Windows
PP2MFC - PowerPlant->MFC portability
http://www.highway1.com.au/adsoftware/crossplatform.html
In SF for Macworld Jan 1st-9th 1999, at the AppMaker stand in DevDepot


 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.