$(function() {
$.ajax({ url: 'Local/Docums.xml', dataType: 'xml', success: function(xmlResponse) {
var data = $('Docum', xmlResponse).map(function() {
return { value: $('name', this).text(), id: $('urlname', this).text()}
}).get();
$('#ctl00_DocumTextBox').autocomplete({ source: data, minLength: 2, select: function(event, ui) { 
  document.location.href = ui.item.id; } }) } }) });
