XML Schema complexType
I want to be able to do the following in XML:
Code:
<transaction> Code:
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> |
I'm on the very early stages of XML but it could be done something like this I think. Basically define your own simple type for a currency value.. You can also use xsd:presicion value="10" or whatever to define the total number of digits used including decimal and xsd:scale for the number of decimal places rather than fractionDigits. There is probably a better, convaluted way,as thisvery much a beginner here but all practice is good :)
Code:
<?xml version="1.0"?> |
All times are GMT -5. The time now is 10:50 AM. |