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

Re: String interning (Was: Binary XML == "spawn of t


spawn parsed
On Monday 04 August 2003 11:54, Hunsberger, Peter wrote:
> One of my vague long term projects is to look at ways of building and
> utilizing a sort of PSVI database.  (Binary XML that never leaves the
> building...)  Essentially we have a large project that reuses (and
> reuses) various XML fragments from many different sources in many
> different combinations many times (controlled by some small number of
> parameters).  Think of this as a cache of parsed XML that can
> subsequently be consumed by XSLT transforms.  On occasion some portions
> of this cache will be invalidated and replaced.
>
> So the question becomes; do you think any of this work could form a
> basis for such a database?  Would it be efficient to parse XML to this
> format, then feed (multiple chained) XSLT transforms from this format?

Yes, it could definitely form a basis for such a database. In
fact, the Waterken(TM) Server already does this, but for the
Waterken(TM) Doc model instead of the XML Infoset. If you visit
the www.waterken.com site, some of the pages are generated using
this technique.

In the Waterken(TM) Server,

http://www.waterken.com/javadoc/Doc/com/waterken/doc/code/Decoded.html

is used to push a SAX event stream directly into an XSLT
stylesheet via

http://www.waterken.com/javadoc/Doc/com/waterken/doc/sax/Encoder.html

You could port this design to the full XML Infoset by defining a
binary XML syntax similar to Waterken(TM) Doc code. I haven't done
this because I have other reasons for using the Waterken(TM) Doc
model. See the web-calculus:

http://www.waterken.com/dev/Web/Calculus/#Structure

> I'd spend some time examining the code, but we're in the middle of a
> release and more than swamped at the moment... (For the Cocoon-dev
> lurkers on this list, yes, this is related to the discussion on long
> term caching models.)

When you get the time, I've provided a lot of free code that you
should find useful.

Tyler

-- 
The union of REST and capability-based security:
http://www.waterken.com/dev/Web/

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.