|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Packaging and hub documents
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="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:hub="http://www.w3.org/1999/12/18-xml-hub-ns#"
xmlns:msft="http://www.microsoft.com/ns/xml-data/"
xmlns:xsl="http://www.w3.org/TR/WD-xsl/">
<hub:Document rdf:about="http://www.foo.com/foo.xml">
<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"/>
</hub:Document>
</rdf:RDF>
A client could download the hub first, then decide what else it needs.
All the best,
David
--
David Megginson david@m...
http://www.megginson.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! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








