xml utils for notes conversion