Packaging and hub documents

David Megginson david at
Mon Jun 14 20:19:55 BST 1999

Tim Bray writes:

 > It is becoming painfully obvious that we need a general-purpose 
 > packaging mechanism to deliver an arbitrary number of related 
 > whatevers along with a piece of XML payload.  There has been a lot
 > of discussion about this around the W3C.  It may be the case that
 > multipart-mime provides a general solution for this problem (don't
 > understand it well enough myself to have an opinion), or perhaps
 > we need an XML Packaging Language to use for this purpose. -Tim

To start with, we need a hub document -- RDF would do:

  <?xml version="1.0"?>

  <rdf:RDF xmlns:rdf=""

  <hub:Document rdf:about="">
  <hub:root rdf:resource="foo.xml"/>
  <hub:schema rdf:resource="document.xsm"/>
  <xsl:stylesheet rdf:resource="document.xsl"/>
  <msft:schema rdf:resource="document-xml-data.xml"/>


A client could download the hub first, then decide what else it needs.

All the best,


David Megginson                 david at

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

More information about the Xml-dev mailing list