Troubleshooting XML
Version 1 (Bryan Heath, 06/08/2012 03:30 pm) → Version 2/4 (Bryan Heath, 06/08/2012 03:34 pm)
h1. Troubleshooting Valid XML
Most of the results, especially during testing will be returned to you as XML.
The XML view will very from browser Chrome and IE show you the results as XML.
Firefox shows it to browser.
you as text, unless you right click and say View Page Source.
Example of a valid result as raw XML: result:
<pre>
<?xml version="1.0" encoding="UTF-8"?>
<loginshare>
<result>1</result>
<staff>
<team>IS</team>
<firstname>Test</firstname>
<lastname>User</lastname>
<designation></designation>
<email>test.user@mysite.com</email>
<mobilenumber>555-555-5555</mobilenumber>
<signature></signature>
</staff>
</loginshare>
</pre>
Example as text:
<pre><loginshare>
<result>1</result>
<user>
<usergroup>IS</usergroup>
<fullname>Test User</fullname>
<designation/>
<emails>
<email>test.user@mysite.com</email>
</emails>
<phone>555-555-5555</phone>
</user>
</loginshare></pre>