using SimpleXML elements to build RDF/XML