Hi,
XML Spy is incorrect in this case. The visibility of the key does
go "upwards", so if you put a keyref at the top level then it could see
it. It is not however available inside other element declarations as you
have used it.
Hope this helps,
Gareth
For a more in depth explanation (if not a touch more complex)
http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions
--
Gareth Reakes, Managing Director Parthenon Computing
+44-1865-811184 http://www.parthcomp.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]