add binding for xmlres