Un ejemplo de código
este ejemplo es muy sencillo...
<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:earl="http://www.w3.org/WAI/ER/EARL/nmg-strawman#">
<earl:Assertion>
<earl:subject rdf:resource="#http://www.w3.org/" />
<earl:result rdf:type"http://www.w3.org/WAI/ER/EARL/nmg-strawman#Pass"/>
<earl:testcase rdf:resource="http://example.org/1999/xhtml#transitional"/>
<earl:assertedBy rdf:resource="http://validator.w3.org" />
<earl:mode rdf:resource="http://www.w3.org/WAI/ER/EARL/nmg-strawman#automatic"/>
<earl:message xml:lang="es">Esta pagina es XHTML valido</earl:message>
</earl:Assertion>
</rdf:RDF>