I want to save a number in an XML file with a type or another simple integer type, but allow the user to enter the number in hexadecimal format. Does the XML standard provide this because I cannot find anything relevant?
For example, if the XSD says:
<xs:element name="value" type="xs:integer" use="required" />
then I want XML to be able to say:
<value>0xFF00FF</value>
or to indicate a hexadecimal value.
Obviously, I can try, but this proves support in only one specific implementation, and not in the standard. I am not particularly interested in whether XML retention will lose.
source share