2008-04-22 12:37:14 -04:00
|
|
|
<!--
|
|
|
|
|
2020-01-13 10:55:35 -05:00
|
|
|
Copyright (c) 1999 - 2020 XMPP Standards Foundation
|
2008-04-22 12:37:14 -04:00
|
|
|
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
|
|
of this software and associated documentation files (the "Software"), to deal
|
|
|
|
in the Software without restriction, including without limitation the rights
|
|
|
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
|
|
copies of the Software, and to permit persons to whom the Software is
|
|
|
|
furnished to do so, subject to the following conditions:
|
|
|
|
|
|
|
|
The above copyright notice and this permission notice shall be included in
|
|
|
|
all copies or substantial portions of the Software.
|
|
|
|
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
|
|
THE SOFTWARE.
|
|
|
|
|
|
|
|
-->
|
2006-10-02 18:22:13 -04:00
|
|
|
|
|
|
|
<!-- Author: stpeter -->
|
|
|
|
|
|
|
|
<xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>
|
|
|
|
|
|
|
|
<xsl:output method='html'/>
|
|
|
|
|
|
|
|
<xsl:template match='/'>
|
|
|
|
<html>
|
|
|
|
<head>
|
2006-12-05 11:11:55 -05:00
|
|
|
<title><xsl:value-of select='/xep/header/shortname'/></title>
|
2006-10-04 14:40:38 -04:00
|
|
|
<link rel='stylesheet' type='text/css' href='/xmpp.css' />
|
2006-10-02 18:22:13 -04:00
|
|
|
<link rel='shortcut icon' type='image/x-icon' href='/favicon.ico' />
|
|
|
|
<link>
|
|
|
|
<xsl:attribute name='rel'><xsl:text>alternate</xsl:text></xsl:attribute>
|
2009-05-05 16:38:58 -04:00
|
|
|
<xsl:attribute name='href'><xsl:text>http://xmpp.org/extensions/xep-</xsl:text><xsl:value-of select='/xep/header/number'/><xsl:text>.html</xsl:text></xsl:attribute>
|
2006-10-02 18:22:13 -04:00
|
|
|
</link>
|
|
|
|
<!-- BEGIN META TAGS FOR DUBLIN CORE -->
|
|
|
|
<meta>
|
|
|
|
<xsl:attribute name='name'><xsl:text>DC.Title</xsl:text></xsl:attribute>
|
2006-12-05 11:11:55 -05:00
|
|
|
<xsl:attribute name='content'><xsl:value-of select='/xep/header/shortname'/></xsl:attribute>
|
2006-10-02 18:22:13 -04:00
|
|
|
</meta>
|
|
|
|
<meta>
|
|
|
|
<xsl:attribute name='name'><xsl:text>DC.Publisher</xsl:text></xsl:attribute>
|
2007-01-15 14:18:37 -05:00
|
|
|
<xsl:attribute name='content'>XMPP Standards Foundation</xsl:attribute>
|
2006-10-02 18:22:13 -04:00
|
|
|
</meta>
|
|
|
|
<meta>
|
|
|
|
<xsl:attribute name='name'><xsl:text>DC.Date</xsl:text></xsl:attribute>
|
2006-12-05 11:11:55 -05:00
|
|
|
<xsl:attribute name='content'><xsl:value-of select='/xep/header/revision/date'/></xsl:attribute>
|
2006-10-02 18:22:13 -04:00
|
|
|
</meta>
|
|
|
|
<!-- END META TAGS FOR DUBLIN CORE -->
|
|
|
|
</head>
|
|
|
|
<body>
|
2006-12-05 11:11:55 -05:00
|
|
|
<h1><xsl:value-of select='/xep/header/shortname'/></h1>
|
2017-02-14 17:15:25 -05:00
|
|
|
<p>This page provides information about the XML namespaces defined in
|
2006-10-02 18:22:13 -04:00
|
|
|
<a>
|
|
|
|
<xsl:attribute name='href'>
|
2009-05-05 16:38:58 -04:00
|
|
|
<xsl:text>http://xmpp.org/extensions/xep-</xsl:text>
|
2006-12-05 11:11:55 -05:00
|
|
|
<xsl:value-of select='/xep/header/number'/>
|
2006-10-02 18:22:13 -04:00
|
|
|
<xsl:text>.html</xsl:text>
|
|
|
|
</xsl:attribute>
|
2006-12-05 11:11:55 -05:00
|
|
|
<xsl:text>XEP-</xsl:text><xsl:value-of select='/xep/header/number' />:<xsl:text> </xsl:text><xsl:value-of select='/xep/header/title' />
|
2006-10-02 18:22:13 -04:00
|
|
|
</a>
|
2009-05-05 16:38:58 -04:00
|
|
|
(part of the <a href="http://xmpp.org/extensions/">XEP series</a> published by the <a href="http://xmpp.org/xsf/">XMPP Standards Foundation</a>).</p>
|
2006-10-02 18:22:13 -04:00
|
|
|
|
2006-12-05 11:11:55 -05:00
|
|
|
<xsl:variable name='schema.count' select='count(/xep/header/schemaloc)'/>
|
2006-10-02 18:22:13 -04:00
|
|
|
<xsl:if test='$schema.count > 0'>
|
2006-12-05 11:11:55 -05:00
|
|
|
<p>The following XML schemas are available for the <xsl:value-of select='/xep/header/title' /> protocol:</p>
|
2006-10-02 18:22:13 -04:00
|
|
|
<ul>
|
2006-12-05 11:11:55 -05:00
|
|
|
<xsl:apply-templates select='/xep/header/schemaloc'/>
|
2006-10-02 18:22:13 -04:00
|
|
|
</ul>
|
|
|
|
</xsl:if>
|
|
|
|
|
2006-12-05 11:11:55 -05:00
|
|
|
<p>Last Updated: <xsl:value-of select='/xep/header/revision/date'/></p>
|
2006-10-02 18:22:13 -04:00
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
</xsl:template>
|
|
|
|
|
|
|
|
<xsl:template match='schemaloc'>
|
|
|
|
<xsl:variable name='this.url' select='url'/>
|
|
|
|
<xsl:variable name='ns.count' select='count(ns)'/>
|
|
|
|
<xsl:choose>
|
|
|
|
<xsl:when test="$ns.count > 0">
|
|
|
|
<li><a href='{$this.url}'><xsl:value-of select='url'/></a></li>
|
|
|
|
</xsl:when>
|
|
|
|
<xsl:otherwise>
|
|
|
|
<li><a href='{$this.url}'><xsl:value-of select='url'/></a></li>
|
|
|
|
</xsl:otherwise>
|
|
|
|
</xsl:choose>
|
|
|
|
</xsl:template>
|
|
|
|
|
|
|
|
</xsl:stylesheet>
|