XML Schema:constraint attribute integer
XML / XSL
3
Posts
3
Posters
1
Views
1
Watching
-
how do i restrict the values of an attribute to be any integer value EXCEPT 0? for example: this code does not work... how can i allow all values for integer EXCEPT zero? thanks.. meng
-
Your
restriction
will result in a void type, intersecting (0, +inf) with (-inf, 0). Try using the followingpattern
: (\+|\-)?[1-9]+[0-9]* rechi