Correction: the XML looks like this: <root> <nodes> <node id="1"> <childnodes> <childnode id="100"></childnode> <childnode id="101"> <grandchildnodes> <grandchildnode id="1000" /> <grandchildnode id="1001" /> </grandhildnodes> </childnode> </childnodes> </node> <node id="2"> <!-- and so on ---> </nodes> </root>
Note that the elements with plural identifiers are simply collectors; they have no attributes, and are of no significance to the end user. Sorry for the double post, but I'm afraid the first one would just confuse people. Jim --- In [email protected], "dadrobson" <[EMAIL PROTECTED]> wrote: > > The XML that I am being sent is in the following format: > > <root> > <nodes> > <node id="1"> > <childnodes> > <childnode id="100"></childnode> > <childnode id="101"> > <grandchildnodes> > <grandchildnodes id="1000" /> > <grandchildnodes id="1001" /> > </grandhildnodes> > </childnode> > </childnodes> > </node> > <node id="2"> > <!-- and so on ---> > </nodes> > </root> > > When I bind xml in this format to a Tree control (labelField="@id"), > the collection tags (<childnodes> and <grandchildnodes>) mess it up. > They are displayed, even though they should not be. How do I get the > Tree control to ignore these tags? > ------------------------ Yahoo! Groups Sponsor --------------------~--> Check out the new improvements in Yahoo! Groups email. http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM --------------------------------------------------------------------~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

