Troubleshooting XML

Version 1 (Bryan Heath, 06/08/2012 03:30 pm)

1 1
h1. Troubleshooting Valid XML
2 1
3 1
Most of the results, especially during testing will be returned to you as XML. 
4 1
Chrome and IE show you the results as XML.
5 1
Firefox shows it to you as text, unless you right click and say View Page Source.
6 1
7 1
Example of a valid result:
8 1
9 1
<pre>
10 1
<?xml version="1.0" encoding="UTF-8"?>
11 1
<loginshare>
12 1
  <result>1</result>
13 1
  <staff>
14 1
          <team>IS</team>
15 1
          <firstname>Test</firstname>
16 1
          <lastname>User</lastname>
17 1
          <designation></designation>
18 1
          <email>test.user@mysite.com</email>
19 1
          <mobilenumber>555-555-5555</mobilenumber>
20 1
          <signature></signature>
21 1
  </staff>
22 1
</loginshare>
23 1
</pre>