Answer the question
In order to leave comments, you need to log in
What regular expressions should I use for numbers, floating point numbers, and numbers with a logical operator in the XSD schema?
Input object height data (meters):
<0.05
0.05
0.1
0.2
...
5
7
8
9
10
>10
Sample code
<xs:simpleType name="ВысотаОбъекта">
<xs:restriction base="xs:string">
<xs:pattern value=".......регулярные выражения???"/>
<xs:documentation><0,05<xs:documentation/>
<xs:documentation>0,05<xs:documentation/>
<xs:documentation>0,1<xs:documentation/>
<xs:documentation>0,2<xs:documentation/>
<xs:documentation>...<xs:documentation/>
<xs:documentation>9<xs:documentation/>
<xs:documentation>10<xs:documentation/>
<xs:documentation>=>11"<xs:documentation/>
</xs:restriction>
</xs:simpleType>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question