Worked on structure. Origin field almost works, xmlparser needs work though