Urgent Opion wanted.

D

Don Grover

I have this xml file provided by a supplier, and although it validates I
think it is wrong.
I need to find out if it is wrong and get them to correct it
The 2001 - 2005 are field names I thing they are putting them in the wrong
place and should be in replace of the <name> tag if so where should the
values go ?.
I would appreciate a xml guru looking at this and commenting as may need as
i said to get them to do it properly.
Regards Don


<?xml version="1.0" encoding="UTF-8"?>
<methodResponse>
<params>
<param>
<value><struct>
<member><name>0</name>
<value><struct>
<member><name>2001</name>
<value><string>CCN99i</string></value>
</member>
<member><name>2002</name>
<value><string>30380</string></value>
</member>
<member><name>2003</name>
<value><string>FLOOR</string></value>
</member>
<member><name>2004</name>
<value><string>DNG/S</string></value>
</member>
<member><name>2005</name>
<value></value>
</member>
<member><name>2006</name>
<value></value>
</member>
<member><name>2007</name>
<value><string>01/01/2099 00:00:00</string></value>
</member>
<member><name>2008</name>
<value><string>01/01/2099 00:00:00</string></value>
</member>
<member><name>2009</name>
<value><string>10/29/2003 10:25:30</string></value>
</member>
<member><name>2010</name>
<value><string>29103cci</string></value>
</member>
<member><name>2011</name>
<value><string>29103cci</string></value>
</member>
<member><name>2012</name>
<value><string>IMC</string></value>
</member>
<member><name>2013</name>
<value><string>29103cci</string></value>
</member>
<member><name>2014</name>
<value></value>
</member>
<member><name>2015</name>
<value><string>1</string></value>
</member>
</struct></value>
</member>
<member><name>1</name>
<value><struct>
<member><name>2001</name>
<value><string>CCN103Wi</string></value>
</member>
<member><name>2002</name>
<value><string>30190</string></value>
</member>
<member><name>2003</name>
<value><string>04.64.A </string></value>
</member>
<member><name>2004</name>
<value><string>DNG/S</string></value>
</member>
<member><name>2005</name>
<value></value>
</member>
<member><name>2006</name>
<value></value>
</member>
<member><name>2007</name>
<value><string>01/01/2099 00:00:00</string></value>
</member>
<member><name>2008</name>
<value><string>01/01/2099 00:00:00</string></value>
</member>
<member><name>2009</name>
<value><string>10/16/2003 13:54:06</string></value>
</member>
<member><name>2010</name>
<value><string>16103iCC</string></value>
</member>
<member><name>2011</name>
<value><string>16103iCC</string></value>
</member>
<member><name>2012</name>
<value><string>INT</string></value>
</member>
<member><name>2013</name>
<value><string>16103iCC</string></value>
</member>
<member><name>2014</name>
<value></value>
</member>
<member><name>2015</name>
<value><string>1</string></value>
</member>
</struct></value>
</member>
<member><name>2</name>
<value><struct>
<member><name>2001</name>
<value><string>CCS57i</string></value>
</member>
<member><name>2002</name>
<value><string>10000948</string></value>
</member>
<member><name>2003</name>
<value><string>FLOOR</string></value>
</member>
<member><name>2004</name>
<value><string>DNG/S</string></value>
</member>
<member><name>2005</name>
<value></value>
</member>
<member><name>2006</name>
<value></value>
</member>
<member><name>2007</name>
<value><string></string></value>
</member>
<member><name>2008</name>
<value><string>10/03/2003 13:46:54</string></value>
</member>
<member><name>2009</name>
<value><string>10/03/2003 13:46:54</string></value>
</member>
<member><name>2010</name>
<value><string></string></value>
</member>
<member><name>2011</name>
<value><string>3103iCC</string></value>
</member>
<member><name>2012</name>
<value><string>IMC</string></value>
</member>
<member><name>2013</name>
<value><string>3103iCC</string></value>
</member>
<member><name>2014</name>
<value></value>
</member>
<member><name>2015</name>
<value><string>1</string></value>
</member>
</struct></value>
</member>
<member><name>3</name>
<value><struct>
<member><name>2001</name>
<value><string>CCN120i</string></value>
</member>
<member><name>2002</name>
<value><string>10000950</string></value>
</member>
<member><name>2003</name>
<value><string>FLOOR</string></value>
</member>
<member><name>2004</name>
<value><string>DNG/S</string></value>
</member>
<member><name>2005</name>
<value></value>
</member>
<member><name>2006</name>
<value></value>
</member>
<member><name>2007</name>
<value><string></string></value>
</member>
<member><name>2008</name>
<value><string>10/07/2003 09:26:21</string></value>
</member>
<member><name>2009</name>
<value><string>10/07/2003 09:26:21</string></value>
</member>
<member><name>2010</name>
<value><string></string></value>
</member>
<member><name>2011</name>
<value><string>61033CC</string></value>
</member>
<member><name>2012</name>
<value><string>INT</string></value>
</member>
<member><name>2013</name>
<value><string>61033CC</string></value>
</member>
<member><name>2014</name>
<value></value>
</member>
<member><name>2015</name>
<value><string>1</string></value>
</member>
</struct></value>
</member>
<member><name>4</name>
<value><struct>
<member><name>2001</name>
<value><string>CCS69i</string></value>
</member>
<member><name>2002</name>
<value><string>10000942</string></value>
</member>
<member><name>2003</name>
<value><string>FLOOR</string></value>
</member>
<member><name>2004</name>
<value><string>DNG/S</string></value>
</member>
<member><name>2005</name>
<value></value>
</member>
<member><name>2006</name>
<value></value>
</member>
<member><name>2007</name>
<value><string></string></value>
</member>
<member><name>2008</name>
<value><string>09/24/2003 17:16:15</string></value>
</member>
<member><name>2009</name>
<value><string>09/24/2003 17:16:15</string></value>
</member>
<member><name>2010</name>
<value><string></string></value>
</member>
<member><name>2011</name>
<value><string>2493iCC</string></value>
</member>
<member><name>2012</name>
<value><string>IMC</string></value>
</member>
<member><name>2013</name>
<value><string>2493iCC</string></value>
</member>
<member><name>2014</name>
<value></value>
</member>
<member><name>2015</name>
<value><string>1</string></value>
</member>
</struct></value>
</member>
<member><name>5</name>
<value><struct>
<member><name>2001</name>
<value><string>CCS69i</string></value>
</member>
<member><name>2002</name>
<value><string>10000943</string></value>
</member>
<member><name>2003</name>
<value><string>FLOOR</string></value>
</member>
<member><name>2004</name>
<value><string>DNG/S</string></value>
</member>
<member><name>2005</name>
<value></value>
</member>
<member><name>2006</name>
<value></value>
</member>
<member><name>2007</name>
<value><string></string></value>
</member>
<member><name>2008</name>
<value><string>09/24/2003 17:16:15</string></value>
</member>
<member><name>2009</name>
<value><string>09/24/2003 17:16:15</string></value>
</member>
<member><name>2010</name>
<value><string></string></value>
</member>
<member><name>2011</name>
<value><string>2493iCC</string></value>
</member>
<member><name>2012</name>
<value><string>IMC</string></value>
</member>
<member><name>2013</name>
<value><string>2493iCC</string></value>
</member>
<member><name>2014</name>
<value></value>
</member>
<member><name>2015</name>
<value><string>1</string></value>
</member>
</struct></value>
</member>
<member><name>6</name>
<value><struct>
<member><name>2001</name>
<value><string>CCS69i</string></value>
</member>
<member><name>2002</name>
<value><string>10000944</string></value>
</member>
<member><name>2003</name>
<value><string>FLOOR</string></value>
</member>
<member><name>2004</name>
<value><string>DNG/S</string></value>
</member>
<member><name>2005</name>
<value></value>
</member>
<member><name>2006</name>
<value></value>
</member>
<member><name>2007</name>
<value><string></string></value>
</member>
<member><name>2008</name>
<value><string>09/24/2003 17:16:15</string></value>
</member>
<member><name>2009</name>
<value><string>09/24/2003 17:16:15</string></value>
</member>
<member><name>2010</name>
<value><string></string></value>
</member>
<member><name>2011</name>
<value><string>2493iCC</string></value>
</member>
<member><name>2012</name>
<value><string>IMC</string></value>
</member>
<member><name>2013</name>
<value><string>2493iCC</string></value>
</member>
<member><name>2014</name>
<value></value>
</member>
<member><name>2015</name>
<value><string>1</string></value>
</member>
</struct></value>
</member>
<member><name>7</name>
<value><struct>
<member><name>2001</name>
<value><string>6020i</string></value>
</member>
<member><name>2002</name>
<value><string>30350</string></value>
</member>
<member><name>2003</name>
<value><string>FLOOR</string></value>
</member>
<member><name>2004</name>
<value><string>DNG/S</string></value>
</member>
<member><name>2005</name>
<value></value>
</member>
<member><name>2006</name>
<value>/value>
</member>
<member><name>2007</name>
<value><string>01/01/2099 00:00:00</string></value>
</member>
<member><name>2008</name>
<value><string>01/01/2099 00:00:00</string></value>
</member>
<member><name>2009</name>
<value><string>10/26/2003 11:26:51</string></value>
</member>
<member><name>2010</name>
<value><string>24103i</string></value>
</member>
<member><name>2011</name>
<value><string>6020i</string></value>
</member>
<member><name>2012</name>
<value><string>INT</string></value>
</member>
<member><name>2013</name>
<value><string>24103i</string></value>
</member>
<member><name>2014</name>
<value></value>
</member>
<member><name>2015</name>
<value><string>1</string></value>
</member>
</struct></value>
</member>
<member><name>8</name>
<value><struct>
<member><name>2001</name>
<value><string>CCN118i</string></value>
</member>
<member><name>2002</name>
<value><string>30170</string></value>
</member>
<member><name>2003</name>
<value><string>FLOOR</string></value>
</member>
<member><name>2004</name>
<value><string>DNG/S</string></value>
</member>
<member><name>2005</name>
<value></value>
</member>
<member><name>2006</name>
<value></value>
</member>
<member><name>2007</name>
<value><string>01/01/2099 00:00:00</string></value>
</member>
<member><name>2008</name>
<value><string>01/01/2099 00:00:00</string></value>
</member>
<member><name>2009</name>
<value><string>10/14/2003 09:57:39</string></value>
</member>
<member><name>2010</name>
<value><string>13103iCC</string></value>
</member>
<member><name>2011</name>
<value><string>13103iCC</string></value>
</member>
<member><name>2012</name>
<value><string>INT</string></value>
</member>
<member><name>2013</name>
<value><string>13103iCC</string></value>
</member>
<member><name>2014</name>
<value></value>
</member>
<member><name>2015</name>
<value><string>1</string></value>
</member>
</struct></value>
</member>
<member><name>9</name>
<value><struct>
<member><name>2001</name>
<value><string>CCN119i</string></value>
</member>
<member><name>2002</name>
<value><string>30160</string></value>
</member>
<member><name>2003</name>
<value><string>FLOOR</string></value>
</member>
<member><name>2004</name>
<value><string>DNG/S</string></value>
</member>
<member><name>2005</name>
<value></value>
</member>
<member><name>2006</name>
<value></value>
</member>
<member><name>2007</name>
<value><string>01/01/2099 00:00:00</string></value>
</member>
<member><name>2008</name>
<value><string>01/01/2099 00:00:00</string></value>
</member>
<member><name>2009</name>
<value><string>10/14/2003 09:57:39</string></value>
</member>
<member><name>2010</name>
<value><string>13103iCC</string></value>
</member>
<member><name>2011</name>
<value><string>13103iCC</string></value>
</member>
<member><name>2012</name>
<value><string>INT</string></value>
</member>
<member><name>2013</name>
<value><string>13103iCC</string></value>
</member>
<member><name>2014</name>
<value></value>
</member>
<member><name>2015</name>
<value><string>1</string></value>
</member>
</struct></value>
</member>
<member><name>10</name>
<value><struct>
<member><name>2001</name>
<value><string>6014i</string></value>
</member>
<member><name>2002</name>
<value><string>30290</string></value>
</member>
<member><name>2003</name>
<value><string>FLOOR</string></value>
</member>
<member><name>2004</name>
<value><string>DNG/S</string></value>
</member>
<member><name>2005</name>
<value></value>
</member>
<member><name>2006</name>
<value></value>
</member>
<member><name>2007</name>
<value><string>01/01/2099 00:00:00</string></value>
</member>
<member><name>2008</name>
<value><string>01/01/2099 00:00:00</string></value>
</member>
<member><name>2009</name>
<value><string>10/21/2003 16:09:12</string></value>
</member>
<member><name>2010</name>
<value><string>21103CCi3</string></value>
</member>
<member><name>2011</name>
<value><string>21103CCi3</string></value>
</member>
<member><name>2012</name>
<value><string>IMC</string></value>
</member>
<member><name>2013</name>
<value><string>21103CCi3</string></value>
</member>
<member><name>2014</name>
<value></value>
</member>
<member><name>2015</name>
<value><string>1</string></value>
</member>
</struct></value>
</member>
<member><name>11</name>
<value><struct>
<member><name>2001</name>
<value><string>CCN102Wi</string></value>
</member>
<member><name>2002</name>
<value><string>30200</string></value>
</member>
<member><name>2003</name>
<value><string>FLOOR</string></value>
</member>
<member><name>2004</name>
<value><string>DNG/S</string></value>
</member>
<member><name>2005</name>
<value></value>
</member>
<member><name>2006</name>
<value></value>
</member>
<member><name>2007</name>
<value><string>01/01/2099 00:00:00</string></value>
</member>
<member><name>2008</name>
<value><string>01/01/2099 00:00:00</string></value>
</member>
<member><name>2009</name>
<value><string>10/21/2003 10:21:04</string></value>
</member>
<member><name>2010</name>
<value><string>21103CCi1</string></value>
</member>
<member><name>2011</name>
<value><string>21103CCi1</string></value>
</member>
<member><name>2012</name>
<value><string>IMC</string></value>
</member>
<member><name>2013</name>
<value><string>21103CCi1</string></value>
</member>
<member><name>2014</name>
<value></value>
</member>
<member><name>2015</name>
<value><string>1</string></value>
</member>
</struct></value>
</member>
<member><name>12</name>
<value><struct>
<member><name>2001</name>
<value><string>CCG16i</string></value>
</member>
<member><name>2002</name>
<value><string>30210</string></value>
</member>
<member><name>2003</name>
<value><string>04.60.A</string></value>
</member>
<member><name>2004</name>
<value><string>DNG/S</string></value>
</member>
<member><name>2005</name>
<value></value>
</member>
<member><name>2006</name>
<value></value>
</member>
<member><name>2007</name>
<value><string>01/01/2099 00:00:00</string></value>
</member>
<member><name>2008</name>
<value><string>01/01/2099 00:00:00</string></value>
</member>
<member><name>2009</name>
<value><string>10/21/2003 10:38:39</string></value>
</member>
<member><name>2010</name>
<value><string>21103CCi2</string></value>
</member>
<member><name>2011</name>
<value><string>21103CCi2</string></value>
</member>
<member><name>2012</name>
<value><string>IMC</string></value>
</member>
<member><name>2013</name>
<value><string>21103CCi2</string></value>
</member>
<member><name>2014</name>
<value></value>
</member>
<member><name>2015</name>
<value><string>1</string></value>
</member>
</struct></value>
</member>
<member><name>13</name>
<value><struct>
<member><name>2001</name>
<value><string>CCG16i</string></value>
</member>
<member><name>2002</name>
<value><string>30220</string></value>
</member>
<member><name>2003</name>
<value><string>04.61.A</string></value>
</member>
<member><name>2004</name>
<value><string>DNG/S</string></value>
</member>
<member><name>2005</name>
<value></value>
</member>
<member><name>2006</name>
<value></value>
</member>
<member><name>2007</name>
<value><string>01/01/2099 00:00:00</string></value>
</member>
<member><name>2008</name>
<value><string>01/01/2099 00:00:00</string></value>
</member>
<member><name>2009</name>
<value><string>10/21/2003 10:38:39</string></value>
</member>
<member><name>2010</name>
<value><string>21103CCi2</string></value>
</member>
<member><name>2011</name>
<value><string>21103CCi2</string></value>
</member>
<member><name>2012</name>
<value><string>IMC</string></value>
</member>
<member><name>2013</name>
<value><string>21103CCi2</string></value>
</member>
<member><name>2014</name>
<value></value>
</member>
<member><name>2015</name>
<value><string>1</string></value>
</member>
</struct></value>
</member>
<member><name>14</name>
<value><struct>
<member><name>2001</name>
<value><string>CCG17i</string></value>
</member>
<member><name>2002</name>
<value><string>30230</string></value>
</member>
<member><name>2003</name>
<value><string>04.62.A</string></value>
</member>
<member><name>2004</name>
<value><string>DNG/S</string></value>
</member>
<member><name>2005</name>
<value></value>
</member>
<member><name>2006</name>
<value></value>
</member>
<member><name>2007</name>
<value><string>01/01/2099 00:00:00</string></value>
</member>
<member><name>2008</name>
<value><string>01/01/2099 00:00:00</string></value>
</member>
<member><name>2009</name>
<value><string>10/21/2003 10:38:39</string></value>
</member>
<member><name>2010</name>
<value><string>21103CCi2</string></value>
</member>
<member><name>2011</name>
<value><string>21103CCi2</string></value>
</member>
<member><name>2012</name>
<value><string>IMC</string></value>
</member>
<member><name>2013</name>
<value><string>21103CCi2</string></value>
</member>
<member><name>2014</name>
<value></value>
</member>
<member><name>2015</name>
<value><string>1</string></value>
</member>
</struct></value>
</member>
</struct></value>
</param>
</params>
</methodResponse>
 
S

Scott Mohekey

That xml document is a method response of the xmlrpc protocol, as such
it is not likely that you will be able to get them to change it.

The name element defines the name of that member of the structure, where
as the value element defines the value of that member.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,816
Latest member
SapanaCarpetStudio

Latest Threads

Top