← Prev in month ← Prev in thread
Next in thread → Next in month →

Creating a XML Schema from an existing Database - Part 2

From
Marco Mastrocinque <>
To
Date
2005-03-26T08:47:34Z
ID
<>
Thread
Creating a XML Schema from an existing Database - Part 2
Hi All,
      Thanks for your previous comments; I'm still having implementation
issues with my XML Schema. I have attached the files to this email. I have a
number of questions:

1) In the Divisions subgroup each Division has unique identifying attribute
'DID', which has been declared to be unique. In the Employees subgroup each
employee belongs to a unique division, which done by the 'refDID.' This
should reference the DID attribute as being in a corresponding Division. It
does not seem to work, any suggestions?

 
2) Can the key & keyref system used to ensure uniqueness, when two parts to
be unique? Please see my files. An example with two attributes would be
nice. For example, from my files:

<Project PID="M34" refDID="Mar">
References the PID (declared to be unique); refDID references DID from the
Division attribute. 

<Assign refEID="Mar" refDID="M34">
References the refEID from the EID from the Employee attribute; refPID
references from the DID from the Division attribute. 


I'm using Apache Xerces to validate it. If I can't this part licked, I've
got it working. I been at it for a day, and made no headway. Any suggestions
most appreciated.

Thanks Marco Mastrocinque
← Prev in month ← Prev in thread
Next in thread → Next in month →