W3C home > Mailing lists > Public > xmlschema-dev@w3.org > August 2005

Re: ID/IDREF

From: Henry S. Thompson <ht@inf.ed.ac.uk>
Date: Fri, 19 Aug 2005 09:43:50 +0100
To: "Udo Ende" <u.ende@mid.de>
Cc: <xmlschema-dev@w3.org>
Message-ID: <f5bacje71vd.fsf@erasmus.inf.ed.ac.uk>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Udo Ende writes:

> Can I only declare a leaf element of type IDREF or how can I reference an
> element of complexType via ID/IDREF?

You can have an attribute of type ID or IDREF on any element, simple
or complex.

ht
- -- 
 Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
                     Half-time member of W3C Team
    2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
            Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk
                   URL: http://www.ltg.ed.ac.uk/~ht/
[mail really from me _always_ has this .sig -- mail without it is forged spam]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFDBZvGkjnJixAXWBoRAkj7AJ42CuMZJAOr1iG76LXwIsc+IDK1hgCeJRxh
w9phEpiU7b293Ff+ga/5/uQ=
=0R/R
-----END PGP SIGNATURE-----
Received on Friday, 19 August 2005 08:44:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:50 GMT