Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
Thread: XML Schema for Reading Matrices
05-06-2013, 04:13 PM #1
- Join Date
- May 2013
- Thanked 0 Times in 0 Posts
XML Schema for Reading Matrices
I am very new to using XML and making my first XML Schema. I want to write something in XML schema that will allow me to read a matrix. For example, I want to have a matrix that looks like this:
<matrix> <row>2.1 3.4</row> <row>100.5 6.7</row> <row>-2.76 5.9</row> <row>-7.53 -30.21</row> </matrix>
So far I have got something like:
<xs:element name="row" type="valuelist"> <xs:simpleType name="valuelist"> <xs:list itemType="xs:decimal"/> </xs:simpleType>
Thanks for your help!