Replace xmlparser for library object