Return-Path: Mailing-List: contact general-help@xml.apache.org; run by ezmlm Delivered-To: mailing list general@xml.apache.org Received: (qmail 30001 invoked from network); 6 Nov 2000 23:59:49 -0000 Received: from mta-2.gci.net (208.138.130.83) by locus.apache.org with SMTP; 6 Nov 2000 23:59:49 -0000 Received: from mmp-2.gci.net ([208.138.130.81]) by mta-2.gci.net (Netscape Messaging Server 4.15) with ESMTP id G3MNYX03.8IA for ; Mon, 6 Nov 2000 14:59:21 -0900 Received: from nceas.ucsb.edu ([24.237.21.48]) by mmp-2.gci.net (Netscape Messaging Server 4.15) with ESMTP id G3MNYW00.R29 for ; Mon, 6 Nov 2000 14:59:20 -0900 Message-ID: <3A07450A.2770CE98@nceas.ucsb.edu> Date: Mon, 06 Nov 2000 14:55:54 -0900 From: Matt Jones X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: general@xml.apache.org Subject: Re: Saving XML to DB References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N -----BEGIN PGP SIGNED MESSAGE----- Howard, We've been working on an XML database that we call Metacat that uses Xerces as its XML parser. Metacat exposes an API that allows us to store arbitrary XML documents in a relational database (via JDBC) without creating custom tables for each XML doctype. Right now we are using Oracle as a backend, but other databases are possible as well (but haven't been tested). Metacat enables structured search of the document contents (ie, we don't just store the XML in a BLOB) even though the database has no prior knowledge of the XML schema/dtd. This is all accomplished by modeling the data as the DOM tree rather than the explicit schema of the XML document, and then providing a Java servlet layer on top of that. We have a limited subset of XPath query capability working against the document store, and have done some clever query optimization work. We also have enabled XSLT transformations of the XML documents on output, so it is simple to develop a web-based presentation of the metadata for an arbitrary number of XML document types. Our research project, the Knowledge Network for Biocomplexity, is doing this work in the context of a metadata repository for a distributed data network, but I think the effort is generically useful. It has many similarities to the dbXML project and the Lore project at Stanford in its goals, but it utilizes existing relational databases and so gains several enterprise features right out of the box. It also has similarities to the Oracle XSQL tools that they ship, but doesn't require a template map to convert XML to relational form. We find this approach substantially more flexible than the XSQL approach, although they both have their uses (xsql is v. useful for integrating xml data with and converting it to legacy RDBMS schemas). Check out http://www.nceas.ucsb.edu/kdi for more information on the project. That's where we'll be posting our code as we make it available. Unfinished features that are still on our TODO list include: - DOM API support (we use a simpler API now) - Full XPath support - Namespace support If you're interested in the products, let me know and I'll see what we can arrange. We are currently in a testing phase, and plan our first major release for January 2001, although I could probably arrange for you to test our current beta version now. Take care, Matt Howard Lee wrote: > > Hi folks, > > What is the best way to save XML to DB when there are no tables > that are specific to the XML? We want to find a way to save any XML > to DB, and able to update the XML and so on. What's the best way? > Would XML database (e.g. excelon?) help our situation? Is there a > plug in for Oracle to do that? Thank you very much for any > suggestions. > > howard > > -------------------------------------------------------------------- > - In case of troubles, e-mail: webmaster@xml.apache.org > To unsubscribe, e-mail: general-unsubscribe@xml.apache.org > For additional commands, e-mail: general-help@xml.apache.org - -- ****************************************************************** Matt Jones jones@nceas.ucsb.edu http://www.nceas.ucsb.edu/ National Center for Ecological Analysis and Synthesis (NCEAS) ****************************************************************** -----BEGIN PGP SIGNATURE----- Version: PGP 6.5.1i iQCVAwUBOgdFCCa3Tv4nECOlAQFSCwP/eyaIkbyS7RRTk9Mm1uTONq29iuUkepEZ fJ3UG4Ng3XGfrSKPuWyNa7FQJrRxb8aYz1IP+e7v2M2zjiFRQyaFGLoRKszZ1if9 3zLq53oCWUoESgV+VZq2o7jp531s6L7tga6ClJtZlhwpfdumV9UdI4OhxM52wQ/i sNOvt0KX62E= =uCl3 -----END PGP SIGNATURE-----