[upd] experimental xml export function