Menu

Simple schema: Howto assign a type to attribute

Help
nore
2014-09-27
2014-09-27
  • nore

    nore - 2014-09-27

    Hello there,

    is it possible to assign a type to an attribute?

    For example I want an attribute to only be able to contain positive integers.

    Greetings
    David

     
  • Damien Guillaume

    Of course, you can define that in the schema with type="xs:positiveInteger".

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.