revised xml input/out using the provided schemas in  of resources/io/