Sign In/My Account | View Cart  
advertisement

Article:
 Make Your XML RDF-Friendly
Subject: Possible typos?
Date: 2002-11-03 20:39:06
From: Bob DuCharme
Response to: Possible typos?

>Please correct me if I am wrong, but
>should not i1 be i2 here?


><attachments rdf:ID="i1">
><rdf:Bag rdf:ID="i2">
><attachment>data\sample1.txt</attachment>
><attachment>data\sample2.txt</attachment>
></rdf:Bag>
></attachments>


No, the attachments element and the rdf:Bag element each get their own unique ID value. They're not absolutely necessary, but are somewhat proactive to take control over the names assigned to the resources in the RDF triples, which would otherwise make up names.


>And - in the text above - sample1 appears twice.


I only see it there once...


Bob DuCharme


No Previous Message Previous Message Move up to Parent Message Up Next Message No Next Message


Titles Only Titles Only Newest First
  • Possible typos?
    2002-11-07 12:05:15 Shane Crawford [Reply]

    The i2 resource has one attachment with a value of "data\sample1.txt" and another with a value of "data\sample1.txt".


Sponsored By: