1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
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">
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>
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>
41
This is the schema for the UPnP Service Description document, in the
42
RELAX NG Compact syntax.
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.
47
default namespace = "urn:schemas-upnp-org:service-1-0"
53
element major { text } &
54
element minor { text }
59
element name { text } &
60
element argumentList {
62
element name { text } &
63
element direction { "in"|"out" } &
64
element retval { text }? &
65
element relatedStateVariable { text }
71
element serviceStateTable {
72
element stateVariable {
73
attribute sendEvents { "yes"|"no" }? &
74
element name { text } &
76
"ui1"|"ui2"|"ui4"|"i1"|"i2"|"i4"|"int"|
77
"r4"|"r8"|"number"|"fixed.14.4"|"float"|
79
"date"|"dateTime"|"dateTime.tz"|"time"|"time.tz"|
80
"boolean"|"bin.base64"|"bin.hex"|"uri"|"uuid"
82
element defaultValue { text }? &
84
element allowedValueList {
85
element allowedValue { text }+
88
element allowedValueRange {
89
element minimum { text } &
90
element maximum { text } &
91
element step { text }?
101
Generated by GTK-Doc V1.10</div>