rxml supporting function development, refactoring