Hi Suneetha,
Which control are you planning to use to display the results? Is it going to
be a DataGrid/AdvancedDataGrid? Incase you are going to use AdvancedDataGrid
with Tree, you can club all the items just one below the other, ADG will
take care of the gouping.
<menu>
<item>
<category>cat1</category>
<categoryname>categoryname</categoryname>
<description>description</description>
<price>$2323<price>
<image>item1.jpg</item>
</item>
<item>
<category>cat2</category>
<categoryname>categoryname</categoryname>
<description>description</description>
<price>$567<price>
<image>item2.jpg</item>
</item>
.....
</menu>
Just specify category as the grouping field and ADG will take care of the
rest.
Regards,
Venkat
www.venkatv.com
On Tue, Dec 30, 2008 at 2:13 PM, suneetha gadde <[email protected]>wrote:
> Hi all,
>
> How to display data like Restaurant menu ----------in xml file?
> like now i have------------
>
> category1 catname desc
> price image
> cat2 catname desc
> price image
> cat3 catname desc
> price image
> cat1 catname desc
> price image
> cat2 catname desc
> price image
> cat1 catname desc
> price image
> cat2 catname desc
> price image
> cat3 catname desc
> price image
>
> it has to display like-------------------------
>
> cat1
> ------------
> catname(desc) price image
> catname(desc) price image
> catname(desc) price image
>
> cat2
> ---------------
> catname(desc) price image
> catname(desc) price image
> catname(desc) price image
> ;
> ;
> ;
> ;
> and so on
> how do i format my xml file to get the above result?
> Thanx
> suneetha
>
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---