Linking XSchemas to documents

Simon St.Laurent SimonStL at classic.msn.com
Thu Jul 2 21:03:46 BST 1998


Ron Bourret wrote:
>I believe the current candidate for 
>referring to the file is through a PI in the referring document.

Though I've already expressed my fondness for PI's, they seem like the only 
appropriate tool for making this connection.

How's 

<?XSchema href="yourXSchemaURLhere" description="yourNamehere"?>

description would be completely optional, of course; I've just come to enjoy 
being able to give things intelligible descriptive comments and it's 
addictive. And if href sounds too much like XLink, we can change it.  I'm sure 
lots of other people have ideas about what this PI should look like.

The other question, of course, is how to link multiple XSchemas to a document, 
something that's weird enough in DTDs.  Do people want to follow the DTD rules 
(no element declared more than once, etc.) for compatibility, or open that up 
as well?  At this point, I'd opt for compatibility.

Simon St.Laurent
Dynamic HTML: A Primer / XML: A Primer / Cookies


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list