Debian Codegraph @

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

raw
1 <?xml version="1.0"?>
2
3 <!--
4 Copyright World Wide Web Consortium, (Massachusetts Institute of
5 Technology, Institut National de Recherche en Informatique et en
6 Automatique, Keio University).
7
8 All Rights Reserved.
9
10 Please see the full Copyright clause at
11 <http://www.w3.org/Consortium/Legal/copyright-software.html>
12
13 Description: Visibly used namespaces must be included in XML
14 Literal values. Treatment of namespaces that are not
15 visibly used (e.g. rdf: in this example) is implementation
16 dependent. Based on example from Issues List.
17
18
19 $Id: test001.rdf,v 1.2 2002/11/22 13:52:15 jcarroll Exp $
20
21 -->
22 <rdf:RDF xmlns="http://www.w3.org/1999/xhtml"
23 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
24 xmlns:html="http://NoHTML.example.org"
25 xmlns:my="http://my.example.org/">
26 <rdf:Description rdf:ID="John_Smith">
27 <my:Name rdf:parseType="Literal">
28 <html:h1>
29 <b>John</b>
30 </html:h1>
31 </my:Name>
32 </rdf:Description>
33 </rdf:RDF>