N
news.emn.fr
Hello,
i got this attribute
<xs:attribute name="jour">
<xs:simpleType>
<xs:restriction base="stypeJour">
</xs:restriction>
</xs:simpleType>
</xs:attribute>
where
<xs:simpleType name="stypeJour">
<xs:restriction base="xs:string">
<xs:enumeration value="Lundi"/>
<xs:enumeration value="Mardi"/>
<xs:enumeration value="Mercredi"/>
<xs:enumeration value="Jeudi"/>
<xs:enumeration value="Vendredi"/>
<xs:enumeration value="Samedi"/>
<xs:enumeration value="Dimanche"/>
</xs:restriction>
</xs:simpleType>
Is it possible to "filter" properties of the attribute "jour"so that a
special enumeration value is forbidden ?
I don't know much about pattern . I think this might be the solution ,
something like
<xs
attern value="\C Lundi "/> ???
where can I read more about pattern ?
Thanks
David
i got this attribute
<xs:attribute name="jour">
<xs:simpleType>
<xs:restriction base="stypeJour">
</xs:restriction>
</xs:simpleType>
</xs:attribute>
where
<xs:simpleType name="stypeJour">
<xs:restriction base="xs:string">
<xs:enumeration value="Lundi"/>
<xs:enumeration value="Mardi"/>
<xs:enumeration value="Mercredi"/>
<xs:enumeration value="Jeudi"/>
<xs:enumeration value="Vendredi"/>
<xs:enumeration value="Samedi"/>
<xs:enumeration value="Dimanche"/>
</xs:restriction>
</xs:simpleType>
Is it possible to "filter" properties of the attribute "jour"so that a
special enumeration value is forbidden ?
I don't know much about pattern . I think this might be the solution ,
something like
<xs
where can I read more about pattern ?
Thanks
David