chapter xml exports + misc