質問
i "m xsdを使用することによってxml要素が5の乗算であるかどうかを検証しようとしています。任意の1のアイデアはどうやってそれを行うか?
ありがとう、
Itay
解決
I'm pretty sure you can't use general formula for validation. But in your specific case you can use a pattern match to match multiples of 5
<xs:element name="myelement">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:pattern value="[0-9]*[05]{1}"></xs:pattern>
</xs:restriction>
</xs:simpleType>
</xs:element>
所属していません StackOverflow