Change: RDFa 1.0

created on March 26, 2013, 1:42 p.m. by Hevok & updated on March 26, 2013, 1:42 p.m. by Hevok

RDFa 1.0 is the way to encode RDF inside XHTML Document.

<html>
...
<div xmlns:dc="http://purl.org/dc/elements/1.1/">] # Namespace
    I'm currently reading
    <span about "urn:ISBN:12345"> # Subject
        <span property="dc:title"> # Property
            Programming A Denigm # Object (Literal)
        </span>
        by
        <span property="dc:creator">Hevok<</span>
    </span>.
</div>
...
</html>

If one wants to use RDF one has to RDFa in XHMTL one has to use a specific Namespace that is able to process also RDFa 1.0:

<?xml version="1.0" encoding="UTF-8"?> 
    <html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.0"
        xml:lang="en">
        <head>...</head>
        <body>...</body>
    </html>
</xml>
code-300x225.jpg

Categories: Concept
Parent: RDFa

Comment: Created entry.

See entry | Admin

Comment on This Data Unit