# About yahoo UI 2.6 data source

**URL:** <https://www.ruby-forum.com/t/about-yahoo-ui-2-6-data-source/156333>\
**Category:** Rails\
**Created:** [December 24, 2008, 5:37pm UTC](https://www.ruby-forum.com/t/about-yahoo-ui-2-6-data-source/156333 "2008-12-24T17:37:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tuhin\_cse99](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/a6a055/32.png) [@tuhin\_cse99](https://www.ruby-forum.com/u/tuhin_cse99)\
**Post date:** [December 24, 2008, 5:37pm UTC](https://www.ruby-forum.com/t/about-yahoo-ui-2-6-data-source/156333/1 "2008-12-24T17:37:23Z")

</div>

hi,  
I am using yahoo UI autocomplete in my rails application.  
I want to use XML data format.  
I have a tag\_list field in view file.  
this is my code in controller  
def filter\_tag  
@tags= Tags.find(:all)  
end

```
   I can not understand how can I format the resultant data(@tags)

```

in xml format for response.  
please give me some example source. I have googled a lot but not  
find any  
example for that.  
I am very new with the yahoo iu. I have configure the view  
according to the documentation of yahoo ui autocomplete but trouble with  
code in the method in the controller.  
Please guide me.  
Amin
