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

RE: Comments Appreciated on Magazine Based on XML/XSL

  • From: "Didier PH Martin" <martind@n...>
  • To: "'XML Dev'" <xml-dev@i...>, "Mark Birbeck" <Mark.Birbeck@i...>
  • Date: Mon, 12 Apr 1999 16:47:21 -0400

transforming xml not in memory
Hi Mark,

<Comment>
I have implemented a very crude version of this. I use the IE5 DOM and
with this I retrieve documents from our database using URLs that are a
scaled down version of XQL (I can't say I like XPointer). For example:

	http://[server]/documents/article[@author='Mark']/article.xml

would retrieve all 'article' objects with an author attribute of 'Mark',
that are children of a node of type 'documents'. This would then be
returned to the caller as an XML document, but with a stylesheet PI
pointing to 'stylesheets/article.xsl'. (Replacing .xml with .htm would
yield the same results but the XML and XSL would be combined for you on
the server.)

The problem with this is that I have to convert this request to a query
on the objects in the hierarchical database in order to populate my DOM.
Of course, once in the DOM I can export it as XML or transform it if
necessary, so the database does look from the outside like it is one
great big XML document.

But although I am quite happy with this so far, I can see that you would
have to code this up for every type of database, and really it should be
a job for the DOM. It really needs a layer like the layer above the
database-specific layers in ODBC; it would sit just below the DOM. This
layer would obviously need to understand schemas, so it wouldn't be a
trivial task to implement.

Anyway, my original question was 'is anyone doing anything like this?'
and I think the answer is 'nowhere near yet!'
</Comment>

<reply>
This is an interesting request. Do you want us to explore a bit further your
need?

a) if you got a DOM interface on a RDB, would this be useful?
b) if you would have a ODB with a DOM interface and that the ODB just
maintain some virtual memory pages in memory. (i.e. the whole DOM is not in
memory at once, only some pages are) Would this be useful?

Thanks Mark for your collaboration
Didier PH Martin
mailto:martind@n...
http://www.netfolder.com


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


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.