Is it possible to deserialize an XML file to a class in Flex without manually checking the XML and/or creating the class, with the help of a HttpService
?
Edit: Explained a bit more and better.
We have an XML file which contains:
<Project>
<Name>NameGoesHere</Name>
<Number>15</Number>
</Project>
In Flex we want this to be serialized to our Project class:
package com.examplepackage
{
import mx.collections.ArrayCollection;
[XmlClass]
public class Project
{
public var Name:String;
public var Number:int;
public function Project()
{
}
}
}
The XML is loaded with a HTTPService.