RdfXmlDocument refactored

Signed-off-by: Emmanuel Mathot <emmanuel.mahot@gmail.com>