W3C home > Mailing lists > Public > www-rdf-interest@w3.org > December 1999

XLink -> RDF mapping

From: Gabe Beged-Dov <begeddov@jfinity.com>
Date: Tue, 21 Dec 1999 10:33:23 -0800
Message-ID: <385FC7F3.7CAF8809@jfinity.com>
To: "www-rdf-interest@w3.org" <www-rdf-interest@w3.org>
I've taken a shot at the simple xlink mapping below. I
made one change to the example in the spec so that the
role is a qname rather than a textual value. I am also
using the typed node syntax and the RDF MS feature of
being able to specify an rdf:ID on a property (although
the latter doesn't seem to be supported by most of the
RDF parsers out there). 
 

<sample
xmlns:xlink="http://www.w3.org/namespace/xlink/1999/"
              xlink:href="target"
                    xlink:type="simple"
                    xlink:show="embed"
                    xlink:actuate="onLoad"
                    xlink:role="ns1:role1"
                    xlink:title="The link title">
                    ...
</sample>


<sample>
  <rdf:RDF ...>

    <xlink:Simple xmlns:ns1="someURI"
                  rdf:about="#xpointer(../..)">
      <ns1:role1 rdf:ID="22" rdf:resource="target/>
    </xlink:Simple>

    <xlink:Meta rdf:about="#22">
      <xlink:show rdf:resource="xlink:embed"/>
      <xlink:actuate rdf:resource="xlink:onLoad"/>
      <xlink:title>The link title</xlink:title>
    </xlink:Meta>

  </rdf:RDF>
  ...
</sample>


-- 
--------------------------- 
http://www.jfinity.com/gabe
Received on Tuesday, 21 December 1999 13:50:12 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:51:42 GMT