|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Question on id constraints
Title: Question on id constraints (could have been: Primary and Foreign Keys) Hi, I'm trying to work out som PK/FK mappings to key/keyref structures. The spec says that the selector must involve the child axis. This imples that in the following example: <files>
I would not be able to specify a unique or key for <file> consisting of the combination of <directoryid> & <fileid>, since the selector must point to either one or the other of these, unless the key is specified in the parent <files>. Anyone know if this is correct? It seems a bit limiting since I can't then reuse that constraint in other contexts where <file> is used without redefining it. John
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








