Misc. > Samples / Templates

Sample XML data in Misc.

Sample XML data


Here is a sample XML data for a single object. In this code snippet, the object name is "PersonalDetail"

XML of Single Object

<PersonalDetail>
  <AutoId>16</AutoId>
  <FirstName>Sheo</FirstName>
  <LastName>Narayan</LastName>
  <Age>25</Age>
  <Active>true</Active>
</PersonalDetail>

XML of Collection of Objects

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: 688 | Post Order: 7



Write for us