Hi ,
I have a list of object and using xstream i was able to convert the arraylist to xml. the resultant xml is as follows
But what i wanted was something like this.. <root><displayName "xyx" isBranch= true><displayName "abc" isBranch= false></displayName></displayName><displayName "efg" isBranch= false></displayName></root>.. I will probably have to make tags for this manually by iterating through the
java list. i will need a recursive method for this probably the moment the list is created. Could some one help me with the recursive method so that the xml is generated as above coz i need to bind this to flex on the screen which requires the mentioned root format.
My java list creation is as follows