if sform.cleaned_data['autoxml']:
# this is a horrible hack - really
bi = dcparser.BookInfo.from_element(librarian.DEFAULT_BOOKINFO.to_etree())
if sform.cleaned_data['autoxml']:
# this is a horrible hack - really
bi = dcparser.BookInfo.from_element(librarian.DEFAULT_BOOKINFO.to_etree())