require rexml/document. closes #22.