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