Here is a sample XML data for a single object. In this code snippet, the object name is "PersonalDetail"
<PersonalDetail>
<AutoId>16</AutoId>
<FirstName>Sheo</FirstName>
<LastName>Narayan</LastName>
<Age>25</Age>
<Active>true</Active>
</PersonalDetail>
Sample XML data for the collection of Objects. In this code snippet, the object is "Cateogry".
<ArrayOfCategory>
<Category>
<CategoryId>1</CategoryId>
<CategoryName>.NET Technologies</CategoryName>
</Category>
<Category>
<CategoryId>2</CategoryId>
<CategoryName>Java Technologies</CategoryName>
</Category>
<Category>
<CategoryId>4</CategoryId>
<CategoryName>Open Stack</CategoryName>
</Category>
</ArrayOfCategory>
JSON stuffs
Views: 4050 | Post Order: 7