[jQuery] Filter xml data before display

[jQuery] Filter xml data before display

Hi all,
I have an xml file that is dynamically generated at periodic intervals
onto disk. the information contained in this file is displayed in a
vertical scroller and this works fine.
I however need to filter the data based on the logged-in users
preferences. These preferences are stored in a database and retrieved
after the user logs in.
Only data in the xml file that match the user's preferences must be
displayed.
Thanks in advance.