1<?xml version="1.0" ?>
2<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
3<xsl:output method="xml" encoding="UTF-8" indent="yes" />
4
5<xsl:template match="/">
6  <!-- insert docbook's DOCTYPE blurb -->
7    <xsl:text disable-output-escaping = "yes"><![CDATA[
8<!DOCTYPE appendix PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
9  <!ENTITY % BOOK_ENTITIES SYSTEM "Wayland.ent">
10%BOOK_ENTITIES;
11]>
12]]></xsl:text>
13
14  <section id="sect-Protocol-Interfaces">
15    <title>Interfaces</title>
16    <para>
17      The protocol includes several interfaces which are used for
18      interacting with the server.  Each interface provides requests,
19      events, and errors (which are really just special events) as described
20      above.  Specific compositor implementations may have their own
21      interfaces provided as extensions, but there are several which are
22      always expected to be present.
23    </para>
24
25    <para>
26      Core interfaces:
27      <variablelist>
28        <xsl:apply-templates select="protocol/interface" />
29      </variablelist>
30    </para>
31  </section>
32</xsl:template>
33
34<!-- Interfaces summary -->
35<xsl:template match="interface" >
36<varlistentry>
37  <term>
38    <link linkend="protocol-spec-{@name}">
39      <xsl:value-of select="@name" />
40    </link>
41  </term>
42  <listitem>
43    <simpara>
44      <xsl:value-of select="description/@summary" />
45    </simpara>
46  </listitem>
47</varlistentry>
48</xsl:template>
49
50</xsl:stylesheet>
51<!-- vim: set expandtab shiftwidth=2: -->
52