added extra condition to find <rdf:RDF>