hf xml encoding initial