hf function export to xml spec