xsd definition to auto-generate a key field?

Discussion in 'XML' started by timnels@gmail.com, Oct 25, 2006.

  1. Guest

    Is there a way to create a xsd "key" field such that when I insert a
    record into the dataset the "key" field is auto-generated like some
    databases use rowid?
    , Oct 25, 2006
    1. Advertisements

  2. XSD has no ability to auto-generate unique values, only to check that
    they are unique. Generating values is the application's responsibility.

    () ASCII Ribbon Campaign | Joe Kesselman
    /\ Stamp out HTML e-mail! | System architexture and kinetic poetry
    Joe Kesselman, Oct 25, 2006
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.

Share This Page