~ubuntu-branches/debian/experimental/gupnp/experimental

« back to all changes in this revision

Viewing changes to doc/html/schemas-service.html

  • Committer: Bazaar Package Importer
  • Author(s): Ross Burton
  • Date: 2008-06-30 09:32:18 UTC
  • mfrom: (1.2.1 upstream) (2.1.5 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080630093218-vmb4elru8cn18579
Tags: 0.12.1-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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>Service Description</title>
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
 
7
<link rel="start" 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-device.html" title="Device Description">
 
10
<link rel="next" href="glossary.html" title="Glossary">
 
11
<meta name="generator" content="GTK-Doc V1.10 (XML mode)">
 
12
<link rel="stylesheet" href="style.css" type="text/css">
 
13
<link rel="part" href="tutorial.html" title="Part I. Tutorial">
 
14
<link rel="chapter" href="overview.html" title="Overview">
 
15
<link rel="chapter" href="client-tutorial.html" title="Writing a UPnP Client">
 
16
<link rel="chapter" href="server-tutorial.html" title="Writing a UPnP Service">
 
17
<link rel="part" href="api.html" title="Part II. Reference">
 
18
<link rel="chapter" href="api-device-info.html" title="Device Information">
 
19
<link rel="chapter" href="api-device-control.html" title="Device Control">
 
20
<link rel="chapter" href="api-device-impl.html" title="Device Implementation">
 
21
<link rel="chapter" href="api-utility.html" title="Utility Functions">
 
22
<link rel="chapter" href="api-tools.html" title="Tools">
 
23
<link rel="part" href="schemas.html" title="Part III. XML Schemas">
 
24
<link rel="chapter" href="schemas-device.html" title="Device Description">
 
25
<link rel="chapter" href="schemas-service.html" title="Service Description">
 
26
<link rel="glossary" href="glossary.html" title="Glossary">
 
27
<link rel="index" href="ix01.html" title="Index">
 
28
</head>
 
29
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
 
30
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
 
31
<td><a accesskey="p" href="schemas-device.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
 
32
<td><a accesskey="u" href="schemas.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
 
33
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
 
34
<th width="100%" align="center">GUPnP Reference Manual</th>
 
35
<td><a accesskey="n" href="glossary.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
 
36
</tr></table>
 
37
<div class="chapter" lang="en">
 
38
<div class="titlepage"><div><div><h2 class="title">
 
39
<a name="schemas-service"></a>Service Description</h2></div></div></div>
 
40
<p>
 
41
        This is the schema for the UPnP Service Description document, in the
 
42
        RELAX NG Compact syntax.
 
43
      </p>
 
44
<pre class="programlisting"># Relax NG schema for the UPnP Service Control Protocol Definition files.  See
 
45
# section 2.3 of UPnP Device Architecture 1.0 for the canonical reference.
 
46
 
 
47
default namespace = "urn:schemas-upnp-org:service-1-0"
 
48
 
 
49
start = scpd
 
50
 
 
51
scpd = element scpd {
 
52
   element specVersion {
 
53
      element major { text } &amp;
 
54
      element minor { text }
 
55
   } &amp;
 
56
   
 
57
   element actionList {
 
58
      element action {
 
59
         element name { text } &amp;
 
60
         element argumentList {
 
61
            element argument {
 
62
               element name { text } &amp;
 
63
               element direction { "in"|"out" } &amp;
 
64
               element retval { text }? &amp;
 
65
               element relatedStateVariable { text }
 
66
            }+
 
67
         }?
 
68
      }+
 
69
   }? &amp;
 
70
   
 
71
   element serviceStateTable {
 
72
      element stateVariable {
 
73
         attribute sendEvents { "yes"|"no" }? &amp;
 
74
         element name { text } &amp;
 
75
         element dataType {
 
76
            "ui1"|"ui2"|"ui4"|"i1"|"i2"|"i4"|"int"|
 
77
            "r4"|"r8"|"number"|"fixed.14.4"|"float"|
 
78
            "char"|"string"|
 
79
            "date"|"dateTime"|"dateTime.tz"|"time"|"time.tz"|
 
80
            "boolean"|"bin.base64"|"bin.hex"|"uri"|"uuid"
 
81
         } &amp;
 
82
         element defaultValue { text }? &amp;
 
83
         (
 
84
            element allowedValueList {
 
85
               element allowedValue { text }+
 
86
            }
 
87
          |
 
88
            element allowedValueRange {
 
89
               element minimum { text } &amp;
 
90
               element maximum { text } &amp;
 
91
               element step { text }?
 
92
            }
 
93
         )?
 
94
      }+
 
95
   }
 
96
}
 
97
</pre>
 
98
</div>
 
99
<div class="footer">
 
100
<hr>
 
101
          Generated by GTK-Doc V1.10</div>
 
102
</body>
 
103
</html>