tizen 2.3.1 release
[external/gupnp.git] / doc / html / schemas-device.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <title>Device Description</title>
6 <meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
7 <link rel="home" href="index.html" title="GUPnP Reference Manual">
8 <link rel="up" href="schemas.html" title="Part III. XML Schemas">
9 <link rel="prev" href="schemas.html" title="Part III. XML Schemas">
10 <link rel="next" href="schemas-service.html" title="Service Description">
11 <meta name="generator" content="GTK-Doc V1.15.1 (XML mode)">
12 <link rel="stylesheet" href="style.css" type="text/css">
13 </head>
14 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15 <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
16 <td><a accesskey="p" href="schemas.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
17 <td><a accesskey="u" href="schemas.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
18 <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
19 <th width="100%" align="center">GUPnP Reference Manual</th>
20 <td><a accesskey="n" href="schemas-service.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
21 </tr></table>
22 <div class="chapter">
23 <div class="titlepage"><div><div><h2 class="title">
24 <a name="schemas-device"></a>Device Description</h2></div></div></div>
25 <p>
26         This is the schema for the UPnP Device Description document, in the
27         RELAX NG Compact syntax.
28       </p>
29 <pre class="programlisting"># Relax NG schema for UPnP Device Description files.  See section 2.1 of UPnP
30 # Device Architecture 1.0 for the canonical reference.
31
32 default namespace = "urn:schemas-upnp-org:device-1-0"
33
34 start = root
35
36 root = element root {
37    element specVersion {
38       element major { text } &amp;
39       element minor { text }
40    } &amp;
41    
42    element URLBase { text }? &amp;
43    
44    device
45 }
46
47 device = element device {
48    element deviceType { text } &amp;
49    element friendlyName { text } &amp;
50    element manufacturer { text } &amp;
51    element manufacturerURL { text }? &amp;
52    element modelDescription { text }? &amp;
53    element modelName { text } &amp;
54    element modelNumber { text }? &amp;
55    element modelURL { text }? &amp;
56    element serialNumber { text }? &amp;
57    element UDN { text } &amp;
58    element UPC { text }? &amp;
59    
60    element iconList {
61       element icon {
62          element mimetype { text } &amp;
63          element width { text } &amp;
64          element height { text } &amp;
65          element depth { text } &amp;
66          element url { text }
67       }+
68    }? &amp;
69    
70    element serviceList {
71       element service {
72          element serviceType { text } &amp;
73          element serviceId { text } &amp;
74          element SCPDURL { text } &amp;
75          element controlURL { text } &amp;
76          element eventSubURL { text }
77       }+
78    }? &amp;
79    
80    element deviceList {
81       device+
82    }? &amp;
83    
84    element presentationURL { text }?
85 }+
86 </pre>
87 </div>
88 <div class="footer">
89 <hr>
90           Generated by GTK-Doc V1.15.1</div>
91 </body>
92 </html>