Next in thread → Next in month →

Re: [xml-dev] Key constraint on optional attribute

From
<>
To
Paul Popiel <>
Date
2005-11-16T15:10:37Z
ID
<>
Thread
Re: [xml-dev] Key constraint on optional attribute
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Paul Popiel writes:

> is there anyway of placing a key constraint on an optional attribute?

That's what 'unique' constraints are for -- not required to be
present, but required to be unique _when_ present.

If that's not what you meant, more details of your document type and
requirements are needed. . .

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: 
                   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)

iD8DBQFDe0vtkjnJixAXWBoRAi67AJwJ8AEMS1ejCIgZ2/JWxJJ1AW0z3gCfV63L
xzyDbYfuzjHeYebihk1q2kM=
=ytKW
-----END PGP SIGNATURE-----
Next in thread → Next in month →