W3C
 previous contents
 change-style

Ap: Extended Link mapping to RDF


graph of the extended link model
<element xmlns:xlink="http://www.w3.org/1999/namespace/xlink/"
	 xlink:type="extended">gt;
    <xlink:locator href="Source" role="role1"/>gt;	 
    <xlink:locator href="Target" role="role2"/>gt;	 
    <xlink:arc from="role1" to="role2"
	       show="embed" actuate="auto"/>gt;
    <xlink:title="The link title"/>gt;	 
    ...
</element>gt;

translates to
  	 
<element>gt;	 
  <rdf:rdf xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
           xmlns:xlink="http://www.w3.org/1999/namespace/xlink/">gt;
    <rdf:description about="#xptr(../..)">gt;
        <xlink:type rdf:resource="xlink:extended"/>gt;
	<xlink:locator rdf:about="source" rdf:id="role1"/>gt;
	<xlink:locator rdf:about="target" rdf:id="role2"/>gt;
	<xlink:arc>gt;
	    <xlink:from rdf:resource="#role1">gt;
	    <xlink:to rdf:resource="#role2">gt;
	    <xlink:show rdf:resource="xlink:embed"/>gt;
	    <xlink:actuate rdf:resource="xlink:auto"/>gt;
	</xlink:arc>gt;
        <xlink:title>gt;the link title</xlink:title>gt;
    </rdf:description>gt;
  </rdf:rdf>gt;
  ...
</element>gt;  

Daniel Veillard

19 of 19