OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] database primary keys in XML Schema

[ Lists Home | Date Index | Thread Index ]

David,
thanks for the code.
> 
> Here is the XSD.  Notice the KEY element with the min and max occurs. That
> 
> tells our parser what the key is for this message.  Our database staging 
> tables have them marked as keys.
> 
If I understand your schema correctly, the XML instance document creator has
to specify the key for the XML document when he creates the XML document, is
that correct?

How does he know the proper database key? Or is my understanding wrong?

Thanks again, Markus

-- 
Markus Seibold
------------------------------
Krebsgasse 6
D-93047 Regensburg
Germany
------------------------------
Email: markus.seibold@gmx.net
Phone: +49 (941) 504 1009
Mobile: +49 (171) 212 6869
FAX: +49 (89) 1488 210457





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS