Hi
first of all , great work .. my compliment :)
I try your FlexBX but I have a problem to trasform an xml , this is
an simple example :
<root>
<name>bob</name>
<dad name="mario" city="France">
<child name="bruno" sex="male"/>
<child name="rosa" sex="female"/>
</dad >
</root>
I try width these class:
--------------------------------->
[XmlClass(alias="root" , uri="
http://www.lottomatica.it/bingo/
schemas")]
public class Root
{
[XmlElement()]
public var name: String;
[XmlElement()]
public var dad:Dad ;
public function Root()
{
}
}
-------------------------------->
[XmlClass]
public class Dad
{
[XmlAttribute()]
public var name: String ;
[XmlAttribute()]
public var city: String ;
[XmlArray(alias="child" ,type="Child")]
public var Child:Array = new Array () ;
public function Dad()
{
}
}
-------------------------------->
[XmlClass]
public class Child
{
[XmlAttribute()]
public var name: String ;
[XmlAttribute()]
public var sex: String ;
public function Child()
{
}
}
----------------------------------->
bu the result is :
<root>
<name>bob</name>
<dad name="mario" city="France">
<child /> **
<child name="bruno" sex="male"/>
<child name="rosa" sex="female"/>
<child /> **
</dad >
</root>
how can I remove <child /> ** tag ?
thanks