I'm trying to change an array collection of typed objects from a .NET
webservice into XML.
My array collection is like this:
myNode{
label:String
id:int
children:ArrayCollection
}
The items in the children array collection are more of "myNode".
I want to put it into xml so it looks like this:
<myNodes>
<myNode label="test1" id="1"/>
<myNode label="test2" id="2">
<myNode label="test3" id="3"/>
<myNode label="test4" id="4"/>
<myNode label="test5" id="5"/>
</myNode>
<myNode label="test6" id="6"/>
</myNodes>
I always work with arraycollections and never with xml, but this
situation requires it. I just need to know how to start. I can loop
through my arraycollection tree if I just know how to do a node or two.
THANKS! :)
Nate