Problem with multi-field keys

Hello all,

I'm old to programming but new to XML and XML Schema.  I'm trying to
define a unique or primary key on a parent-child combination (i.e.
individual elements may not be unique, but the combination of element
and category must be).  Although I think I'm forming the key correctly
(you use "." to establish the node context, start from the parent and
work downward to establish uniqueness), the sample document is telling
me I have too many values - in both XMLSpy and MSXML, so I know I'm
doing something wrong.

Can another pair of eyes shed some light?  The attached sample files
illustrate the problem.

Thanks in advance

Jim Stanley
Media Services, Inc.

Received on Wednesday, 7 July 2004 14:50:41 UTC