/ is not a special character in xml. the characters < > & " ' are the only special characters. Hence sci/fi is a valid string.
How to allow special character '/' in xsd
Domanda
<xs:attribute name="genre">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="sci/fi"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
Is sci/fi a valid string value? if not, how do i represent the fraction slash (/) ?
Thank you
Soluzione
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow