[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Two schemas ant two XML files

From: Eddie Robertsson <eddie@allette.com.au>
Date: Wed, 28 Nov 2001 20:46:48 +1100
Message-ID: <3C04B288.10E32692@allette.com.au>
To: "Henry S. Thompson" <ht@cogsci.ed.ac.uk>
CC: Antonio Ortiz Medina <aortizmedina@supercable.es>, "Lista XML Schema (W3C)" <xmlschema-dev@w3.org>
ant xml schema
> "Antonio Ortiz Medina" <aortizmedina@supercable.es> writes:
>
> > I want this: A xml file with its schema, and another xml file with
> > another schema.  the problem is that i want in the first a key and
> > in the second a keyref to this key is it possible? How?
>
> Like XML 1.0's ID/IDREF mechanism, XML Schema's identity constraints
> (key/unique/keyref) apply to single XML documents, sorry.

Schematron is a schema language that can express keyreferences between document.
Schematron rules can also be embedded within a W3C XML Schema. See [1] for an
example.

Cheers,
/Eddie

[1] http://lists.w3.org/Archives/Public/xmlschema-dev/2001Nov/0049.html


>
>
> ht
> --
>   Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
>           W3C Fellow 1999--2001, part-time member of W3C Team
>      2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
>             Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
>                      URL: http://www.ltg.ed.ac.uk/~ht/
Received on Wednesday, 28 November 2001 04:40:19 GMT

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.