Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Creating a numeric ID Attribute

From: "Stan Kitsis [MSFT]" <skits@---------.--->
To: NULL
Date: 2/2/2005 10:09:00 AM
Hi Victor,

Depending on what you are trying to achieve, you might be able to use 
xs:unique/xs:key/xs:keref to enforce uniqueness.

-- 
Stan Kitsis
Program Manager, XML Technologies
Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.

"Victor Engmark" <victor.engmark@c...> wrote in message 
news:ctqlr9$j2i$1@s......
> Hello all,
>
> I'm working on an XML Schema to define the rules for valid data to import 
> into a database. However, it seems that the datatype xs:ID requires a 
> _letter_ as the first character, and my IDs are numeric.
>
> Is there any other standard XML Schema datatype which has the same 
> restrictions as xs:ID, without the restriction on the first letter? If 
> not, how can I create such a datatype?
>
> -- 
> Victor Engmark
> Q - Why do computer geeks celebrate Halloween on Christmas?
> A - Because OCT 31 equals DEC 25. 




transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent