• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to use regular expression in schema  RSS feed

 
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Following is the regular expression i am using decimal pattern in which totoal digits is 8 and
the digits on left hand side of decimal is 4 and right hand is also 4.
but here it should also allow empty value (except using nullable="true", which is not working here)
Could any boyd please tell me how to allow empty value here?
<xs:restriction base="xs:decimal" >
<xs:totalDigits value="8" />
<xs:fractionDigits value="4" />
</xs:restriction>

Thanks
Vamshi
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!