summaryrefslogtreecommitdiffstats
path: root/tests/rdfxml/ex-62.rdf
blob: f23d47f28f3e242fc2881b88ee9ede535493011c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?xml version="1.0"?>

<!DOCTYPE rdf:RDF [  
<!ENTITY corp "http://example.com/folder1/folder2/">  
]>

<rdf:RDF   
xml:base="http://example.com/folder1/folder2/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
>
    <rdf:Description rdf:about="../entity1">
        <rdfs:comment>Item1</rdfs:comment>
    </rdf:Description>

    <rdf:Description rdf:about="../folder1/../entity1">
        <rdfs:comment>Item2</rdfs:comment>
    </rdf:Description>

    <rdf:Description rdf:about="&corp;../folder1/../entity1">
        <rdfs:comment>Item3</rdfs:comment>
    </rdf:Description>

</rdf:RDF>