Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Xml.Serialization;
- using System.Collections.Generic;
- namespace XmlResponses
- {
- [XmlRoot(ElementName="EVENT")]
- public class EVENT {
- [XmlElement(ElementName="TIMESTAMP")]
- public string TIMESTAMP { get; set; }
- [XmlElement(ElementName="TEXT")]
- public string TEXT { get; set; }
- [XmlAttribute(AttributeName="id")]
- public string Id { get; set; }
- }
- [XmlRoot(ElementName="HAPPENINGS")]
- public class HAPPENINGS {
- [XmlElement(ElementName="EVENT")]
- public List<EVENT> EVENT { get; set; }
- }
- [XmlRoot(ElementName="WORLD")]
- public partial class WORLD {
- [XmlElement(ElementName="HAPPENINGS")]
- public HAPPENINGS HAPPENINGS { get; set; }
- }
- }
Add Comment
Please, Sign In to add comment