Ajinkya
Ajinkya

Reputation: 22720

How to define xml response in YUI autocomplete

I am using YUI autocomplete with XML datasource. Its working fine but I have a small query.
How can we filter suggestion field from response xml. Suppose XML response have following structure

<books>
<book>
<title> some_title </title>
<author> Some_author </author>
</book>
</books>

How can we configure output to show only <title> or <author> in auto suggestion list ?

Thanks.

Upvotes: 0

Views: 187

Answers (1)

Ajinkya
Ajinkya

Reputation: 22720

Got some help from YUI forum
Hope it will help others :)

Upvotes: 1

Related Questions