W3C
 previous contents next
 change-style

Ap: Simple Link mapping to RDF


graph of the simple link model
<element xmlns:xlink="http://www.w3.org/1999/xlink/namespace/"
         xlink:href="target"
         xlink:type="simple"
         xlink:show="embed"
         xlink:actuate="auto"
         xlink:role="The link role"
         xlink:title="The link title">
         ...
</element>

translates to
           
<element>
  <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
           xmlns:xlink="http://www.w3.org/1999/xlink/namespace/">
    <rdf:Description about="#xptr(../..)">
       <xlink:href rdf:resource="target"/>
       <xlink:type rdf:resource="xlink:simple"/>
       <xlink:show rdf:resource="xlink:embed"/>
       <xlink:actuate rdf:resource="xlink:auto"/>
       <xlink:role>The link role</xlink:role>
       <xlink:title>The link title</xlink:title>
    </rdf:Description>
  </rdf:RDF>
  ...
</element>  

Daniel Veillard

17 of 18