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>GUPnP Reference Manual: Service Description</title>
6 <meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
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-device.html" title="Device Description">
10 <link rel="next" href="glossary.html" title="Glossary">
11 <meta name="generator" content="GTK-Doc V1.20 (XML mode)">
12 <link rel="stylesheet" href="style.css" type="text/css">
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="10"><tr valign="middle">
16 <td width="100%" align="left" class="shortcuts"></td>
17 <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
18 <td><a accesskey="u" href="schemas.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
19 <td><a accesskey="p" href="schemas-device.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
20 <td><a accesskey="n" href="glossary.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
23 <div class="titlepage"><div><div><h2 class="title">
24 <a name="schemas-service"></a>Service Description</h2></div></div></div>
26 This is the schema for the UPnP Service Description document, in the
27 RELAX NG Compact syntax.
29 <pre class="programlisting"># Relax NG schema for the UPnP Service Control Protocol Definition files. See
30 # section 2.3 of UPnP Device Architecture 1.0 for the canonical reference.
32 default namespace = "urn:schemas-upnp-org:service-1-0"
38 element major { text } &
39 element minor { text }
44 element name { text } &
45 element argumentList {
47 element name { text } &
48 element direction { "in"|"out" } &
49 element retval { text }? &
50 element relatedStateVariable { text }
56 element serviceStateTable {
57 element stateVariable {
58 attribute sendEvents { "yes"|"no" }? &
59 element name { text } &
61 "ui1"|"ui2"|"ui4"|"i1"|"i2"|"i4"|"int"|
62 "r4"|"r8"|"number"|"fixed.14.4"|"float"|
64 "date"|"dateTime"|"dateTime.tz"|"time"|"time.tz"|
65 "boolean"|"bin.base64"|"bin.hex"|"uri"|"uuid"
67 element defaultValue { text }? &
69 element allowedValueList {
70 element allowedValue { text }+
73 element allowedValueRange {
74 element minimum { text } &
75 element maximum { text } &
76 element step { text }?
86 Generated by GTK-Doc V1.20</div>