much more liberal XML writer