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

RE: The spirit of XML (was RE: Re: I can XInclude wh

  • To: <uche.ogbuji@f...>
  • Subject: RE: The spirit of XML (was RE: Re: I can XInclude where I [expletive deleted] wantto)
  • From: "Evan Lenz" <evan@e...>
  • Date: Wed, 1 May 2002 14:50:59 -0700
  • Cc: "'xml-dev'" <xml-dev@l...>
  • Importance: Normal
  • In-reply-to: <200204301935.g3UJZYr04293@l...>

expat xinclude
Uche Ogbuji wrote:
> It actually wouldn't be too hard to do: 4Suite uses expat for
> non-validating parse, and all we'd have to do is provide a flag
> which causes ExternalEntityParserCreate to be invoked rather than
> ParserCreate (or whatever the precise function names are).  IIRC,
> we still need to set up a fake top-level parser to satisfy expat,
> but shouldn't be much sweat.
>
> Your post might be the prodding I need to finally do it.

Cool :)

> Of course, it's not just a matter of parsers, eh?  I know the
> basis of TransQuery is that one can have the XML database look
> sort of like an oversized EPE whereas each top-level node
> represents a separate document in the database, right?

That was one idea, but things like IDs and base URIs that require document
identity to be maintained forced me to stick with viewing the XML database
as a simple node-set containing only root nodes. Access to that node-set can
be had through the transquery:input parameter. That's TransQuery in a
nutshell. Individual documents, of course, can be EPEs (e.g. boilerplate
text, document fragments, etc.), and should still be individually accessible
via the document() function. Ultimately, the need to do joins between
different documents will be much aided by XPath 2.0's "for" expressions,
whether in the context of XSLT 2.0 or XQuery. XSLT 2.0 (and certainly
XQuery) may deal more explicitly with document collections, thereby
rendering TransQuery irrelevant, except in an XSLT 1.0-only context. One of
the main goals of the project was just to draw attention to the idea of
implementing XSLT over an XML database, something that I would still like to
see happen some day.

Evan


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.