[Xmldb-org-general] XAPI and XInclude
Brought to you by:
reinhapa
|
From: Travis S. <Tra...@no...> - 2005-03-16 17:26:32
|
I would like to address the relationship of the XAPI with the Xinclude[1] specification. XInclude is a specification for merging XML documents. The basic example is including an XML document at a given URL. <?xml version='1.0'?> <document xmlns:xi="http://www.w3.org/2001/XInclude"> <p>120 Mz is adequate for an average home user.</p> <xi:include href="disclaimer.xml"/> </document> One should be able to specify a resource in an XML:DB database in a standard way. A simple idea would be to reference the resource by ID: <xi:include href="xmldb:vendorx://db.xmlmovies.com:2030/movies?resourceId=5" />. Should xpath and xquery also be allowed as part of the URI? Of course the XML parser would have to know how to handle the xmldb:vendorx protocol, but that is a different issue. Also, standardizing the relationship to XInclude would be orthogonal to standardizing a possible REST syntax. Any thoughts? -Trav [1] http://www.w3.org/TR/xinclude/ |