[xsd-users] Binding to referenced objects when using key/keyref

Nick John Nick.John at ActivIdentity.com
Fri Jun 6 02:53:24 EDT 2008


Hi,

 

Is there a command line option which will cause the creation of code to
manage key/keyref items similar to that of ID/IDREF ?

(ie, adding new items will check items for unique key, access keyref
will provide pointer to item with matching key)

 

ID/IDREF being the old form of key (initially from DTD) which is
globally unique within a schema, and key/keyref being the new format to
be able to specify identifiers unique within a portion of the schema.

 

Also, is there any form of ID generation code being created that we have
overlooked?  For instance to create an ID for a new element we have been
going to the root node and calling _lookup_id() to ask if the id exists
until we find one that does not.

 

Cheers,

Nick

 

 

 

Nicholas John
ActivIdentity

7 Phipps Close , Deakin , ACT 
Tel: +61 2 6208 4866

 <http://www.actividentity.com/> http://www.actividentity.com

The information contained in this email message may be privileged,
confidential and protected from disclosure. If you are not the intended
recipient, any dissemination, distribution or copying is strictly
prohibited. If you think that you have received this email message in
error, please notify the sender by reply email and delete the message
and any attachments. 

 




More information about the xsd-users mailing list