How do you handle data shaping when you have no idea how deep relationships go? The article on 4guysfromrolla is great but what if I don&#039;t know how many child object levels there are?<BR><BR>I have a linking table where literally keep adding child objects to infinity How do I get that data out in the correct hierarchy?<BR><BR>I want to ultimately create an xml file from the results that encapsulates the realtionships of items to parent items. Is there some way to loop the shaping commands until there are no more child objects and then proceed to the next leg?<BR><BR>Am I better off looping the records in a component to build the xml?<BR>