Make RDF generator work with multiple data documents.
trim the attribute value