Debian Codegraph @

t/data/rdfxml-w3c/rdfms-xml-literal-namespaces/test002.rdf

raw
1 <?xml version="1.0"?>
2 <!--
3 Copyright World Wide Web Consortium, (Massachusetts Institute of
4 Technology, Institut National de Recherche en Informatique et en
5 Automatique, Keio University).
6
7 All Rights Reserved.
8
9 Please see the full Copyright clause at
10 <http://www.w3.org/Consortium/Legal/copyright-software.html>
11
12 Description: Visibly used namespaces must be included in XML
13 Literal values. Treatment of namespaces that are not
14 visibly used (e.g. rdf: in this example) is implementation
15 dependent. Example from Model & Syntax.
16
17
18 $Id: test002.rdf,v 1.2 2002/11/22 13:59:59 jcarroll Exp $
19
20 -->
21
22 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
23 >
24
25 <rdf:Description
26 xmlns:dc="http://purl.org/metadata/dublin_core#"
27 xmlns="http://www.w3.org/TR/REC-mathml"
28 rdf:about="http://mycorp.example.com/papers/NobelPaper1">
29
30 <dc:Title rdf:parseType="Literal">
31 Ramifications of
32 <apply>
33 <power/>
34 <apply>
35 <plus/>
36 <ci>a</ci>
37 <ci>b</ci>
38 </apply>
39 <cn>2</cn>
40 </apply>
41 to World Peace
42 </dc:Title>
43 <dc:Creator>David Hume</dc:Creator>
44 </rdf:Description>
45
46
47 </rdf:RDF>