select * from files where type != 'Dir' and extenstion not in (#PreserveSingleQuotes(arguments.extenstions_excluded)#) and extenstion in (#PreserveSingleQuotes(arguments.extenstions_included)#) and directory not in (#PreserveSingleQuotes(arguments.directories_excluded)#) and directory in (#PreserveSingleQuotes(arguments.directories_included)#) and name not in (#PreserveSingleQuotes(arguments.files_excluded)#) and name in (#PreserveSingleQuotes(arguments.files_included)#) " & chr(13) & chr(10)> " & chr(13) & chr(10)> " & chr(13) & chr(10)> " & XmlFormat(url) & "" & chr(13) & chr(10)> " & DateFormat(datelastmodified,"yyyy-mm-dd") & "" & chr(13) & chr(10)> " & changefreq & "" & chr(13) & chr(10)> " & priority & "" & chr(13) & chr(10)> " & chr(13) & chr(10)> " & chr(13) & chr(10)>