W3C home > Mailing lists > Public > xmlschema-dev@w3.org > December 2003

IDREFS types in schemas

From: Morgane Erenati <morgane.erenati@wanadoo.fr>
Date: Thu, 18 Dec 2003 14:45:44 +0100
To: <xmlschema-dev@w3.org>
Message-Id: <20031218134532.9F84D1BFB36B@mwinf0104.wanadoo.fr>

I have a short question... I have the following lines in my .xsd file : 

<xs:attribute name="inp" type="xs:IDREF" use="required"/>

<xs:attribute name="corresplist" type="xs:IDREFS"/>

I also define an element GInP, and an element Correspondance. I just want to
specify that my attribute 'inp' is a GInP and that the IDREFS of
'corresplist' refer to Correspondance (s)...

Is it possible ? And if it is, what's the trick ??

Thanks a lot !


Received on Thursday, 18 December 2003 08:46:41 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:15:17 UTC