<browse_entry> [% IF descend == 'true' %] <dir_name>[% title | html %]</dir_name> <dir_browse_url></dir_browse_url> [% IF genre %][% IF genre != '*' %]<genre>[% genre | html %]</genre>[% END %][% END %] [% IF artist %][% IF artist != '*' %]<artist>[% artist | html %]</artist>[% END %][% END %] [% IF album %][% IF album != '*' %]<album>[% album | html %]</album>[% END %][% END %] [% END %] [% IF not descend %] [% PROCESS _xml_song.html %] [% END %] [% IF descend %] <replace_url></replace_url> <append_url></append_url> [% END %] [% IF not descend %] <replace_url></replace_url> <append_url></append_url> [% END %] [% IF song_count %]<song_count>[% song_count %]</song_count>[% END %] [% IF artist_count %]<artist_count>[% artist_count %]</artist_count>[% END %] [% IF album_count %]<album_count>[% album_count %]</album_count>[% END %] </browse_entry>