Troubleshooting XML
Version 2 (Bryan Heath, 06/08/2012 03:34 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 | 2 | Bryan Heath | The XML view will very from browser to browser. |
| 5 | 1 | ||
| 6 | 2 | Bryan Heath | Example of a valid result as raw XML: |
| 7 | 1 | ||
| 8 | 1 | <pre> |
|
| 9 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
|
| 10 | 1 | <loginshare> |
|
| 11 | 1 | <result>1</result> |
|
| 12 | 1 | <staff> |
|
| 13 | 1 | <team>IS</team> |
|
| 14 | 1 | <firstname>Test</firstname> |
|
| 15 | 1 | <lastname>User</lastname> |
|
| 16 | 1 | <designation></designation> |
|
| 17 | 1 | <email>test.user@mysite.com</email> |
|
| 18 | 1 | <mobilenumber>555-555-5555</mobilenumber> |
|
| 19 | 1 | <signature></signature> |
|
| 20 | 1 | </staff> |
|
| 21 | 1 | </loginshare> |
|
| 22 | 1 | </pre> |
|
| 23 | 2 | Bryan Heath | |
| 24 | 2 | Bryan Heath | Example as text: |
| 25 | 2 | Bryan Heath | <pre><loginshare> |
| 26 | 2 | Bryan Heath | <result>1</result> |
| 27 | 2 | Bryan Heath | <user> |
| 28 | 2 | Bryan Heath | <usergroup>IS</usergroup> |
| 29 | 2 | Bryan Heath | <fullname>Test User</fullname> |
| 30 | 2 | Bryan Heath | <designation/> |
| 31 | 2 | Bryan Heath | <emails> |
| 32 | 2 | Bryan Heath | <email>test.user@mysite.com</email> |
| 33 | 2 | Bryan Heath | </emails> |
| 34 | 2 | Bryan Heath | <phone>555-555-5555</phone> |
| 35 | 2 | Bryan Heath | </user> |
| 36 | 2 | Bryan Heath | </loginshare></pre> |