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

RE: DOM or SAX: Sense and Sensibility


sense and sensibility patterns
> From: Michael Kay [mailto:michael.h.kay@n...]
> Sent: Thursday, November 08, 2001 1:25 AM
> To: 'Michael Brennan'; 'bob mcwhirter'; xml-dev@l...
> Subject: RE:  DOM or SAX: Sense and Sensibility
> 
> 
> > Is anyone working on any XSLT implementations that work with
> > Jaxen? That
> > would be very cool.
> 
> In recent releases of Saxon I've been following a similar 
> direction, of
> making the XPath engine able to work with multiple document 
> representations.
> The current release includes a JDOM driver to illustrate the 
> principle. 

Cool! I'll have to take a look at that.

> Incidentally, some of the things DOM4J and Jaxen are doing 
> look very similar
> to the original "Java only" Saxon library before it changed 
> direction to
> become an XSLT engine.

I did some playing with SAXON about a year and a half ago. I experimented
with a data-binding mechanism that leveraged this capability of SAXON --
implementing ElementHandlers that fired off when certain XPath expressions
were matched. At the time, I didn't follow through with it. I changed course
and ended up implementing something that looks very much like RelaxNGCC
(except without the full schema language -- it used a proprietary language
that resembled a simple subset of TREX). The main impetus for the change in
course was to let developers use a more top-down structured approach rather
than the pattern-matching approach. I find myself gravitating back to the
pattern-matching approach, although I also like the approach of giving the
option to a developer of annotating a schema with the necessary logic, and
letting the tool infer the necessary matching pattern from the context in
the schema. I think that would be an interesting approach for supporting
XSLT templates, too.

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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.