2008-04-22 14:40:41 -04:00
<?xml version='1.0' encoding='UTF-8'?>
2008-04-22 12:37:14 -04:00
<!--
2020-01-02 11:46:04 -05:00
Copyright (c) 1999 - 2020 XMPP Standards Foundation
2008-04-22 12:37:14 -04:00
2017-01-11 10:46:01 -05: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
2008-10-24 18:20:47 -04:00
following conditions:
2017-01-11 10:46:01 -05:00
The above copyright notice and this permission notice
shall be included in all copies or substantial portions
2008-10-24 18:20:47 -04:00
of the Software.
2017-01-11 10:46:01 -05:00
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
2008-10-24 18:20:47 -04:00
OR OTHER DEALINGS IN THE SOFTWARE.
2008-04-22 12:37:14 -04:00
-->
2006-10-02 18:22:13 -04:00
<!-- Authors: stpeter and temas -->
<xsl:stylesheet xmlns:xsl= 'http://www.w3.org/1999/XSL/Transform' version= '1.0' >
2020-01-22 10:24:14 -05:00
<xsl:output method= 'html' encoding= 'utf-8' omit-xml-declaration= 'yes' indent= 'no' />
2006-10-02 18:22:13 -04:00
2019-04-04 10:36:31 -04:00
<xsl:template name= "status-notice" >
<xsl:param name= "thestatus" />
<xsl:param name= "thetype" />
<div id= 'status-notice' >
<xsl:attribute name= 'class' > <xsl:value-of select= 'translate($thestatus, "ABCDEFGHIJKLMNOPQRSTUVWXYZ", "abcdefghijklmnopqrstuvwxyz")' /> <xsl:text > </xsl:text> <xsl:value-of select= 'translate($thetype, "ABCDEFGHIJKLMNOPQRSTUVWXYZ", "abcdefghijklmnopqrstuvwxyz")' /> </xsl:attribute>
<xsl:if test= '$thestatus = "Active" and $thetype = "Historical"' >
<xsl:text > NOTICE: This Historical specification provides canonical documentation of a protocol that is in use within the Jabber/XMPP community. This document is not a standards-track specification within the XMPP Standards Foundation's standards process; however, it might be converted to standards-track in the future or might be obsoleted by a more modern protocol.</xsl:text>
</xsl:if>
<xsl:if test= '$thestatus = "Active" and $thetype = "Humorous"' >
<xsl:text > NOTICE: This document is Humorous. It MAY provide amusement but SHOULD NOT be taken seriously.</xsl:text>
</xsl:if>
<xsl:if test= '$thestatus = "Active" and $thetype = "Informational"' >
<xsl:text > NOTICE: This Informational specification defines a best practice or protocol profile that has been approved by the XMPP Council and/or the XSF Board of Directors. Implementations are encouraged and the best practice or protocol profile is appropriate for deployment in production systems.</xsl:text>
</xsl:if>
<xsl:if test= '$thestatus = "Active" and $thetype = "Procedural"' >
<xsl:text > NOTICE: This Procedural document defines a process or activity of the XMPP Standards Foundation (XSF) that has been approved by the XMPP Council and/or the XSF Board of Directors. The XSF is currently following the process or activity defined herein and will do so until this document is deprecated or obsoleted.</xsl:text>
</xsl:if>
<xsl:if test= '$thestatus = "Deferred"' >
<xsl:text > WARNING: This document has been automatically Deferred after 12 months of inactivity in its previous Experimental state. Implementation of the protocol described herein is not recommended for production systems. However, exploratory implementations are encouraged to resume the standards process.</xsl:text>
</xsl:if>
<xsl:if test= '$thestatus = "Deprecated"' >
2020-01-16 07:31:45 -05:00
<xsl:text > WARNING: This document has been </xsl:text> <strong > Deprecated</strong> <xsl:text > by the XMPP Standards Foundation. Implementation of the protocol described herein is not recommended. Developers desiring similar functionality are advised to implement the protocol that supersedes this one </xsl:text>
2019-04-04 10:36:31 -04:00
<xsl:variable name= 'supersededby.count' select= 'count(/xep/header/supersededby/spec)' />
<xsl:choose >
<xsl:when test= '$supersededby.count > 0' >
<xsl:text > (</xsl:text>
<xsl:apply-templates select= '/xep/header/supersededby/spec' >
<xsl:with-param name= 'speccount' select= '$supersededby.count' />
</xsl:apply-templates>
<xsl:text > ).</xsl:text>
</xsl:when>
<xsl:otherwise > (if any).</xsl:otherwise>
</xsl:choose>
</xsl:if>
<xsl:if test= '$thestatus = "Draft"' >
<xsl:text > NOTICE: The protocol defined herein is a </xsl:text> <strong > Draft Standard</strong> <xsl:text > of the XMPP Standards Foundation. Implementations are encouraged and the protocol is appropriate for deployment in production systems, but some changes to the protocol are possible before it becomes a Final Standard.</xsl:text>
</xsl:if>
<xsl:if test= '$thestatus = "Experimental" and $thetype = "Historical"' >
<xsl:text > NOTICE: This Historical document attempts to provide canonical documentation of a protocol that is in use within the Jabber/XMPP community. Publication as an XMPP Extension Protocol does not imply approval of this proposal by the XMPP Standards Foundation. This document is not a standards-track specification within the XMPP Standards Foundation's standards process; however, it might be converted to standards-track in the future or might be obsoleted by a more modern protocol.</xsl:text>
</xsl:if>
<xsl:if test= '$thestatus = "Experimental" and $thetype = "Informational"' >
<xsl:text > WARNING: This Informational document is Experimental. Publication as an XMPP Extension Protocol does not imply approval of this proposal by the XMPP Standards Foundation. Implementation of the best practice or protocol profile described herein is encouraged in exploratory implementations, although production systems are advised to carefully consider whether it is appropriate to deploy implementations of this protocol before it advances to a status of Draft.</xsl:text>
</xsl:if>
<xsl:if test= '$thestatus = "Experimental" and $thetype = "Procedural"' >
<xsl:text > NOTICE: This Procedural document proposes that the process or activity defined herein shall be followed by the XMPP Standards Foundation (XSF). However, this process or activity has not yet been approved by the XMPP Council and/or the XSF Board of Directors and is therefore not currently in force.</xsl:text>
</xsl:if>
<xsl:if test= '$thestatus = "Experimental" and $thetype = "Standards Track"' >
<xsl:text > WARNING: This Standards-Track document is Experimental. Publication as an XMPP Extension Protocol does not imply approval of this proposal by the XMPP Standards Foundation. Implementation of the protocol described herein is encouraged in exploratory implementations, but production systems are advised to carefully consider whether it is appropriate to deploy implementations of this protocol before it advances to a status of Draft.</xsl:text>
</xsl:if>
<xsl:if test= '$thestatus = "Final"' >
<xsl:text > NOTICE: The protocol defined herein is a </xsl:text> <strong > Final Standard</strong> <xsl:text > of the XMPP Standards Foundation and can be considered a stable technology for implementation and deployment.</xsl:text>
</xsl:if>
<xsl:if test= '$thestatus = "Obsolete"' >
2020-01-16 07:31:45 -05:00
<xsl:text > WARNING: This document has been obsoleted by the XMPP Standards Foundation. Implementation of the protocol described herein is not recommended. Developers desiring similar functionality are advised to implement the protocol that supersedes this one </xsl:text>
2019-04-04 10:36:31 -04:00
<xsl:variable name= 'supersededby.count' select= 'count(/xep/header/supersededby/spec)' />
<xsl:choose >
<xsl:when test= '$supersededby.count > 0' >
<xsl:text > (</xsl:text>
<xsl:apply-templates select= '/xep/header/supersededby/spec' >
<xsl:with-param name= 'speccount' select= '$supersededby.count' />
</xsl:apply-templates>
<xsl:text > ).</xsl:text>
</xsl:when>
<xsl:otherwise > (if any).</xsl:otherwise>
</xsl:choose>
</xsl:if>
<xsl:if test= '$thestatus = "Proposed"' >
2019-04-05 11:37:32 -04:00
<xsl:text > NOTICE: This document is currently within Last Call or under consideration by the XMPP Council for advancement to the next stage in the XSF standards process. </xsl:text>
2019-04-04 10:36:31 -04:00
<xsl:if test= '/xep/header/lastcall' > The Last Call ends on <xsl:value-of select= '/xep/header/lastcall' /> .
</xsl:if>
<xsl:text > Please send your feedback to the </xsl:text> <a href= 'http://mail.jabber.org/mailman/listinfo/standards' > standards@xmpp.org</a> <xsl:text > discussion list.</xsl:text>
</xsl:if>
<xsl:if test= '$thestatus = "ProtoXEP"' >
<xsl:text > WARNING: This document has not yet been accepted for consideration or approved in any official manner by the XMPP Standards Foundation, and this document is not yet an XMPP Extension Protocol (XEP). If this document is accepted as a XEP by the XMPP Council, it will be published at < </xsl:text> <a href= "http://xmpp.org/extensions/" > http://xmpp.org/extensions/</a> <xsl:text > > and announced on the < standards@xmpp.org> mailing list.</xsl:text>
</xsl:if>
<xsl:if test= '$thestatus = "Rejected"' >
<xsl:text > WARNING: This document has been Rejected by the XMPP Council. Implementation of the protocol described herein is not recommended under any circumstances.</xsl:text>
</xsl:if>
<xsl:if test= '$thestatus = "Retracted"' >
<xsl:text > WARNING: This document has been retracted by the author(s). Implementation of the protocol described herein is not recommended. Developers desiring similar functionality are advised to implement the protocol that supersedes this one </xsl:text>
<xsl:variable name= 'supersededby.count' select= 'count(/xep/header/supersededby/spec)' />
<xsl:choose >
<xsl:when test= '$supersededby.count > 0' >
<xsl:text > (</xsl:text>
<xsl:apply-templates select= '/xep/header/supersededby/spec' >
<xsl:with-param name= 'speccount' select= '$supersededby.count' />
</xsl:apply-templates>
<xsl:text > ).</xsl:text>
</xsl:when>
<xsl:otherwise > (if any).</xsl:otherwise>
</xsl:choose>
</xsl:if>
</div>
</xsl:template>
2019-04-05 11:40:04 -04:00
<xsl:template name= 'make-timeline' >
<xsl:param name= 'thestatus' />
<xsl:param name= 'thetype' />
<xsl:choose >
<xsl:when test= '$thetype = "Standards Track"' >
<li > <xsl:if test= '$thestatus = "Experimental"' > <xsl:attribute name= 'class' > current</xsl:attribute> </xsl:if> Experimental</li>
<xsl:if test= '$thestatus = "Deferred"' > <li class= 'current inserted' > Deferred</li> </xsl:if>
<xsl:if test= '$thestatus = "Retracted"' > <li class= 'current inserted' > Retracted</li> </xsl:if>
<li > <xsl:if test= '$thestatus = "Proposed"' > <xsl:attribute name= 'class' > current</xsl:attribute> </xsl:if> Proposed</li>
<xsl:if test= '$thestatus = "Rejected"' > <li class= 'current inserted' > Rejected</li> </xsl:if>
<li > <xsl:if test= '$thestatus = "Draft"' > <xsl:attribute name= 'class' > current</xsl:attribute> </xsl:if> Draft</li>
<li > <xsl:if test= '$thestatus = "Final"' > <xsl:attribute name= 'class' > current</xsl:attribute> </xsl:if> Final</li>
2019-04-06 03:41:28 -04:00
<xsl:if test= '$thestatus = "Deprecated" or $thestatus = "Obsolete"' >
<li > <xsl:if test= '$thestatus = "Deprecated"' > <xsl:attribute name= 'class' > current</xsl:attribute> </xsl:if> Deprecated</li>
<li > <xsl:if test= '$thestatus = "Obsolete"' > <xsl:attribute name= 'class' > current</xsl:attribute> </xsl:if> Obsolete</li>
</xsl:if>
2019-04-05 11:40:04 -04:00
</xsl:when>
<xsl:when test= '$thetype = "Procedural" or $thetype = "Informational" or $thetype = "Historical"' >
<li > <xsl:if test= '$thestatus = "Experimental"' > <xsl:attribute name= 'class' > current</xsl:attribute> </xsl:if> Experimental</li>
<xsl:if test= '$thestatus = "Deferred"' > <li class= 'current inserted' > Deferred</li> </xsl:if>
<xsl:if test= '$thestatus = "Retracted"' > <li class= 'current inserted' > Retracted</li> </xsl:if>
<li > <xsl:if test= '$thestatus = "Proposed"' > <xsl:attribute name= 'class' > current</xsl:attribute> </xsl:if> Proposed</li>
<xsl:if test= '$thestatus = "Rejected"' > <li class= 'current inserted' > Rejected</li> </xsl:if>
<li > <xsl:if test= '$thestatus = "Active"' > <xsl:attribute name= 'class' > current</xsl:attribute> </xsl:if> Active</li>
2019-04-06 03:41:28 -04:00
<xsl:if test= '$thestatus = "Deprecated" or $thestatus = "Obsolete"' >
<li > <xsl:if test= '$thestatus = "Deprecated"' > <xsl:attribute name= 'class' > current</xsl:attribute> </xsl:if> Deprecated</li>
<li > <xsl:if test= '$thestatus = "Obsolete"' > <xsl:attribute name= 'class' > current</xsl:attribute> </xsl:if> Obsolete</li>
</xsl:if>
2019-04-05 11:40:04 -04:00
</xsl:when>
<xsl:when test= '$thetype = "Humorous"' >
<li > <xsl:if test= '$thestatus = "Active"' > <xsl:attribute name= 'class' > current</xsl:attribute> </xsl:if> Active</li>
</xsl:when>
<xsl:otherwise >
<li class= 'current inserted' > <xsl:value-of select= '$thestatus' /> </li>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
2006-10-02 18:22:13 -04:00
<xsl:template match= '/' >
2020-01-22 10:24:14 -05:00
<xsl:text disable-output-escaping= 'yes' > < !DOCTYPE html>
</xsl:text>
2006-10-02 18:22:13 -04:00
<html >
<head >
2006-10-02 23:51:29 -04:00
<title > XEP-<xsl:value-of select= '/xep/header/number' /> :<xsl:text > </xsl:text> <xsl:value-of select= '/xep/header/title' /> </title>
2019-04-04 12:13:33 -04:00
<style type= 'text/css' >
/* don't mind this hack */
nav#toc h2:before {
display: none;
content: "XEP-<xsl:value-of select= '/xep/header/number' /> ";
}
</style>
2019-04-06 04:55:04 -04:00
<link rel= 'stylesheet' type= 'text/css' href= 'xmpp.css' />
2015-11-16 11:50:30 -05:00
<link href= "prettify.css" type= "text/css" rel= "stylesheet" />
2006-10-02 18:22:13 -04:00
<link rel= 'shortcut icon' type= 'image/x-icon' href= '/favicon.ico' />
xep.xsl: Force open and close tags on script
XSLT processors are allowed to choose either the self-closing form or
explicit open and close tags when operating in xml mode for elements
that have no text. Unfortunately, for the script element, this is not
allowed (by the DTD, and conformant browsers will not accept the
self-closing form).
xsltproc, as used by the XSF tooling, will output the open/close tags,
but other processors, such as Xalan, will choose the self-closing form.
This patch adds an empty comment as a child of the script tag. This will
force all XSLT processors into outputting the right form. As browsers
are required to ignore the content if there is a src attribute, this
will not change the behaviour. Should a browser without support for the
script tag open it, all it sees is a comment.
Test-Information:
Transforms XEPs into readable documents in xsltproc and oXygen 9.3.
2016-08-31 02:33:33 -04:00
<script type= "text/javascript" src= "prettify.js" >
<xsl:comment > </xsl:comment>
</script>
2013-06-19 17:42:02 -04:00
<!-- making things mobile - friendly... -->
<meta >
<xsl:attribute name= 'name' > <xsl:text > viewport</xsl:text> </xsl:attribute>
2021-01-07 05:59:59 -05:00
<xsl:attribute name= 'content' > width=device-width, initial-scale=1.0, maximum-scale=2.0</xsl:attribute>
2013-06-19 17:42:02 -04:00
</meta>
2006-10-02 18:22:13 -04:00
<!-- BEGIN META TAGS FOR DUBLIN CORE -->
<meta >
<xsl:attribute name= 'name' > <xsl:text > DC.Title</xsl:text> </xsl:attribute>
2006-10-02 23:51:29 -04:00
<xsl:attribute name= 'content' > <xsl:value-of select= '/xep/header/title' /> </xsl:attribute>
2006-10-02 18:22:13 -04:00
</meta>
2006-10-02 23:51:29 -04:00
<xsl:apply-templates select= '/xep/header/author' mode= 'meta' />
2006-10-02 18:22:13 -04:00
<meta >
<xsl:attribute name= 'name' > <xsl:text > DC.Description</xsl:text> </xsl:attribute>
2006-10-02 23:51:29 -04:00
<xsl:attribute name= 'content' > <xsl:value-of select= '/xep/header/abstract' /> </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.Contributor</xsl:text> </xsl:attribute>
2006-10-02 23:51:29 -04:00
<xsl:attribute name= 'content' > XMPP Extensions Editor</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-10-02 23:51:29 -04:00
<xsl:attribute name= 'content' > <xsl:value-of select= '/xep/header/revision/date' /> </xsl:attribute>
2006-10-02 18:22:13 -04:00
</meta>
<meta >
<xsl:attribute name= 'name' > <xsl:text > DC.Type</xsl:text> </xsl:attribute>
2006-10-02 23:51:29 -04:00
<xsl:attribute name= 'content' > XMPP Extension Protocol</xsl:attribute>
2006-10-02 18:22:13 -04:00
</meta>
<meta >
<xsl:attribute name= 'name' > <xsl:text > DC.Format</xsl:text> </xsl:attribute>
<xsl:attribute name= 'content' > XHTML</xsl:attribute>
</meta>
<meta >
<xsl:attribute name= 'name' > <xsl:text > DC.Identifier</xsl:text> </xsl:attribute>
2006-10-02 23:51:29 -04:00
<xsl:attribute name= 'content' > XEP-<xsl:value-of select= '/xep/header/number' /> </xsl:attribute>
2006-10-02 18:22:13 -04:00
</meta>
<meta >
<xsl:attribute name= 'name' > <xsl:text > DC.Language</xsl:text> </xsl:attribute>
<xsl:attribute name= 'content' > en</xsl:attribute>
</meta>
<meta >
<xsl:attribute name= 'name' > <xsl:text > DC.Rights</xsl:text> </xsl:attribute>
2007-11-08 11:12:22 -05:00
<xsl:attribute name= 'content' > <xsl:value-of select= '/xep/header/legal/copyright' /> </xsl:attribute>
2006-10-02 18:22:13 -04:00
</meta>
<!-- END META TAGS FOR DUBLIN CORE -->
</head>
2009-11-02 13:05:12 -05:00
<body onload= "prettyPrint()" >
2006-10-02 18:22:13 -04:00
<!-- TITLE -->
2006-10-02 23:51:29 -04:00
<h1 > XEP-<xsl:value-of select= '/xep/header/number' /> :<xsl:text > </xsl:text> <xsl:value-of select= '/xep/header/title' /> </h1>
2009-03-18 23:00:58 -04:00
<!-- TOP TABLE -->
<xsl:variable name= 'authors.count' select= 'count(/xep/header/author)' />
2019-04-05 11:40:04 -04:00
<div class= "docmeta-wrap" >
<dl id= "docmeta" class= 'compact' >
2019-04-04 10:36:31 -04:00
<dt > Abstract</dt>
<dd > <xsl:value-of select= '/xep/header/abstract' /> </dd>
2009-03-18 23:00:58 -04:00
<xsl:if test= '$authors.count=1' >
2019-04-04 10:36:31 -04:00
<dt > Author</dt>
<dd > <xsl:value-of select= '/xep/header/author/firstname' /> <xsl:text > </xsl:text> <xsl:value-of select= '/xep/header/author/surname' /> </dd>
2009-03-18 23:00:58 -04:00
</xsl:if>
<xsl:if test= '$authors.count>1' >
2019-04-04 10:36:31 -04:00
<dt > Authors</dt>
<dd > <ul class= 'authors' >
2009-03-18 23:00:58 -04:00
<xsl:for-each select= '/xep/header/author' >
2019-04-04 10:36:31 -04:00
<li > <xsl:value-of select= 'firstname' /> <xsl:text > </xsl:text> <xsl:value-of select= 'surname' /> </li>
2009-03-18 23:00:58 -04:00
</xsl:for-each>
2019-04-04 10:36:31 -04:00
</ul> </dd>
2009-03-18 23:00:58 -04:00
</xsl:if>
2019-04-04 10:36:31 -04:00
<dt > Copyright</dt>
2020-01-02 11:46:04 -05:00
<dd > © 1999 – 2020 XMPP Standards Foundation. <a href= '#appendix-legal' > SEE LEGAL NOTICES</a> .</dd>
2019-04-04 10:36:31 -04:00
<dt > Status</dt>
<dd >
<p > <xsl:value-of select= '/xep/header/status' /> </p>
<xsl:call-template name= 'status-notice' >
<xsl:with-param name= 'thestatus' select= '/xep/header/status' />
<xsl:with-param name= 'thetype' select= '/xep/header/type' />
</xsl:call-template>
</dd>
<dt > Type</dt>
<dd > <xsl:value-of select= '/xep/header/type' /> </dd>
<dt > Version</dt>
<dd > <xsl:value-of select= '/xep/header/revision[position()=1]/version' /> (<xsl:value-of select= '/xep/header/revision[position()=1]/date' /> )</dd>
</dl>
2019-04-05 11:40:04 -04:00
<div class= "timeline-wrap" >
<div class= "timeline-head" > Document Lifecycle</div>
<ol class= "timeline" >
<xsl:call-template name= 'make-timeline' >
<xsl:with-param name= 'thestatus' select= '/xep/header/status' />
<xsl:with-param name= 'thetype' select= '/xep/header/type' />
</xsl:call-template>
</ol> </div>
</div>
2012-01-11 12:50:27 -05:00
<!-- COUNCIL NOTE -->
<xsl:apply-templates select= '/xep/header/councilnote' />
2009-01-09 13:15:40 -05:00
<!-- TABLE OF CONTENTS -->
2019-04-04 10:49:29 -04:00
<nav id= "toc" >
<xsl:call-template name= 'processTOC' />
</nav>
2009-01-09 13:15:40 -05:00
<!-- END FRONT MATTER -->
<!-- BEGIN XEP CONTENTS -->
<xsl:apply-templates select= '/xep/section1' />
<!-- END XEP CONTENTS -->
<!-- BEGIN APPENDICES -->
<hr />
<a name= 'appendices' > </a>
<h2 > Appendices</h2>
2006-10-02 23:51:29 -04:00
<!-- XEP INFO -->
2019-04-04 10:36:31 -04:00
<h3 id= 'appendix-docinfo' > Appendix A: Document Information<xsl:call-template name= 'anchor-link' > <xsl:with-param name= 'anchor' select= '"appendix-docinfo"' /> </xsl:call-template> </h3>
<dl class= 'compact' >
<dt > Series</dt>
<dd > <a href= 'http://xmpp.org/extensions/' > XEP</a> </dd>
<dt > Number</dt>
<dd > <xsl:value-of select= '/xep/header/number' /> </dd>
<dt > Publisher</dt>
<dd > <a href= '/xsf/' > XMPP Standards Foundation</a> </dd>
<dt > Status</dt>
<dd > <a >
<xsl:attribute name= 'href' > <xsl:text > http://xmpp.org/extensions/xep-0001.html#states-</xsl:text> <xsl:value-of select= '/xep/header/status' /> </xsl:attribute>
<xsl:value-of select= '/xep/header/status' />
</a> </dd>
<dt > Type</dt>
<dd > <a >
<xsl:attribute name= 'href' > <xsl:text > http://xmpp.org/extensions/xep-0001.html#types-</xsl:text> <xsl:value-of select= '/xep/header/type' /> </xsl:attribute>
<xsl:value-of select= '/xep/header/type' />
</a> </dd>
<dt > Version</dt>
<dd > <xsl:value-of select= '/xep/header/revision[position()=1]/version' /> </dd>
<dt > Last Updated</dt>
<dd > <xsl:value-of select= '/xep/header/revision[position()=1]/date' /> </dd>
<xsl:variable name= 'expires.count' select= 'count(/xep/header/expires)' />
<xsl:if test= '$expires.count=1' >
<dt > Expires</dt> <dd > <xsl:value-of select= '/xep/header/expires' /> </dd>
</xsl:if>
<xsl:variable name= 'ApprovingBody' select= '/xep/header/approver' />
<dt > Approving Body</dt>
<xsl:choose >
<xsl:when test= '$ApprovingBody = "Board"' >
<dd > <a href= 'http://xmpp.org/xsf/board/' > XSF Board of Directors</a> </dd>
</xsl:when>
<xsl:otherwise >
<dd > <a href= 'http://xmpp.org/council/' > XMPP Council</a> </dd>
</xsl:otherwise>
</xsl:choose>
<xsl:variable name= 'dependencies.count' select= 'count(/xep/header/dependencies/spec)' />
<dt > Dependencies</dt>
<dd >
2006-10-02 18:22:13 -04:00
<xsl:choose >
<xsl:when test= '$dependencies.count > 0' >
2006-10-02 23:51:29 -04:00
<xsl:apply-templates select= '/xep/header/dependencies/spec' >
2006-10-02 18:22:13 -04:00
<xsl:with-param name= 'speccount' select= '$dependencies.count' />
</xsl:apply-templates>
</xsl:when>
<xsl:otherwise >
2019-04-04 10:36:31 -04:00
None
2006-10-02 18:22:13 -04:00
</xsl:otherwise>
</xsl:choose>
2019-04-04 10:36:31 -04:00
</dd>
<dt > Supersedes</dt>
<dd >
2006-10-02 23:51:29 -04:00
<xsl:variable name= 'supersedes.count' select= 'count(/xep/header/supersedes/spec)' />
2006-10-02 18:22:13 -04:00
<xsl:choose >
<xsl:when test= '$supersedes.count > 0' >
2006-10-02 23:51:29 -04:00
<xsl:apply-templates select= '/xep/header/supersedes/spec' >
2006-10-02 18:22:13 -04:00
<xsl:with-param name= 'speccount' select= '$supersedes.count' />
</xsl:apply-templates>
</xsl:when>
2019-04-04 10:36:31 -04:00
<xsl:otherwise > None</xsl:otherwise>
2006-10-02 18:22:13 -04:00
</xsl:choose>
2019-04-04 10:36:31 -04:00
</dd>
<dt > Superseded By</dt>
<dd >
2006-10-02 23:51:29 -04:00
<xsl:variable name= 'supersededby.count' select= 'count(/xep/header/supersededby/spec)' />
2006-10-02 18:22:13 -04:00
<xsl:choose >
<xsl:when test= '$supersededby.count > 0' >
2006-10-02 23:51:29 -04:00
<xsl:apply-templates select= '/xep/header/supersededby/spec' >
2006-10-02 18:22:13 -04:00
<xsl:with-param name= 'speccount' select= '$supersededby.count' />
</xsl:apply-templates>
</xsl:when>
2019-04-04 10:36:31 -04:00
<xsl:otherwise > None</xsl:otherwise>
2006-10-02 18:22:13 -04:00
</xsl:choose>
2019-04-04 10:36:31 -04:00
</dd>
<dt > Short Name</dt>
<dd > <xsl:value-of select= '/xep/header/shortname' /> </dd>
<xsl:variable name= 'schema.count' select= 'count(/xep/header/schemaloc)' />
<xsl:if test= '$schema.count > 0' >
<dt > Schema</dt>
<xsl:apply-templates select= '/xep/header/schemaloc' />
</xsl:if>
<xsl:variable name= 'reg.count' select= 'count(/xep/header/registry)' />
<xsl:if test= '$reg.count=1' >
<dt > Registry</dt>
<dd >
2006-10-02 18:22:13 -04:00
<xsl:variable name= 'registryURL' >
2009-05-05 16:38:58 -04:00
<xsl:text > http://xmpp.org/registrar/</xsl:text>
2006-10-02 23:51:29 -04:00
<xsl:value-of select= '/xep/header/shortname' />
2006-10-02 18:22:13 -04:00
<xsl:text > .html</xsl:text>
</xsl:variable>
< <a href= '{$registryURL}' > <xsl:value-of select= '$registryURL' /> </a> >
2019-04-04 10:36:31 -04:00
</dd>
</xsl:if>
<xsl:variable name= 'sourceHTML' >
<xsl:text > https://github.com/xsf/xeps/blob/master/xep-</xsl:text>
<xsl:value-of select= '/xep/header/number' />
<xsl:text > .xml</xsl:text>
</xsl:variable>
<xsl:if test= '/xep/header/status != "ProtoXEP"' >
<dt > Source Control</dt>
<dd > <a class= 'standardsButton' href= '{$sourceHTML}' > HTML</a> </dd>
</xsl:if>
</dl>
<p >
<xsl:variable name= 'formatXML' >
<xsl:text > http://xmpp.org/extensions/xep-</xsl:text>
<xsl:value-of select= '/xep/header/number' />
<xsl:text > .xml</xsl:text>
</xsl:variable>
<xsl:variable name= 'formatPDF' >
<xsl:text > http://xmpp.org/extensions/xep-</xsl:text>
<xsl:value-of select= '/xep/header/number' />
<xsl:text > .pdf</xsl:text>
</xsl:variable>
This document in other formats:
<a class= 'standardsButton' href= '{$formatXML}' > XML</a>  
<a class= 'standardsButton' href= '{$formatPDF}' > PDF</a>
</p>
2006-10-02 18:22:13 -04:00
<!-- AUTHOR INFO -->
2019-04-04 10:36:31 -04:00
<h3 id= 'appendix-authorinfo' > Appendix B: Author Information<xsl:call-template name= 'anchor-link' > <xsl:with-param name= 'anchor' select= '"appendix-authorinfo"' /> </xsl:call-template> </h3>
<xsl:apply-templates select= '/xep/header/author' />
2008-01-23 17:55:55 -05:00
<!-- LEGAL NOTICES -->
2019-04-04 10:36:31 -04:00
<h3 id= 'appendix-legal' > Appendix C: Legal Notices<xsl:call-template name= 'anchor-link' > <xsl:with-param name= 'anchor' select= '"appendix-legal"' /> </xsl:call-template> </h3>
2006-10-02 23:51:29 -04:00
<xsl:apply-templates select= '/xep/header/legal' />
2009-01-09 13:15:40 -05:00
<!-- XMPP NOTICE -->
2019-04-04 10:36:31 -04:00
<h3 id= 'appendix-xmpp' > Appendix D: Relation to XMPP<xsl:call-template name= 'anchor-link' > <xsl:with-param name= 'anchor' select= '"appendix-xmpp"' /> </xsl:call-template> </h3>
2012-08-03 13:54:33 -04:00
<p class= 'indent' > The Extensible Messaging and Presence Protocol (XMPP) is defined in the XMPP Core (RFC 6120) and XMPP IM (RFC 6121) specifications contributed by the XMPP Standards Foundation to the Internet Standards Process, which is managed by the Internet Engineering Task Force in accordance with RFC 2026. Any protocol defined in this document has been developed outside the Internet Standards Process and is to be understood as an extension to XMPP rather than as an evolution, development, or modification of XMPP itself.</p>
2006-10-02 18:22:13 -04:00
<!-- DISCUSSION VENUE -->
2019-04-04 10:36:31 -04:00
<h3 id= 'appendix-discuss' > Appendix E: Discussion Venue<xsl:call-template name= 'anchor-link' > <xsl:with-param name= 'anchor' select= '"appendix-discuss"' /> </xsl:call-template> </h3>
2008-12-18 15:09:59 -05:00
<xsl:variable name= 'discuss.count' select= 'count(/xep/header/discuss)' />
<xsl:variable name= 'discuss.venue' select= 'count(/xep/header/discuss)' />
<xsl:if test= '$discuss.count=1' >
<xsl:variable name= 'discussWeb' >
<xsl:text > http://mail.jabber.org/mailman/listinfo/</xsl:text>
<xsl:value-of select= '/xep/header/discuss' />
</xsl:variable>
<xsl:variable name= 'discussMail' >
<xsl:value-of select= '/xep/header/discuss' />
<xsl:text > @xmpp.org</xsl:text>
</xsl:variable>
<p class= 'indent' > There exists a special venue for discussion related to the technology described in this document: the < <a href= '{$discussWeb}' > <xsl:value-of select= '$discussMail' /> </a> > mailing list.</p>
</xsl:if>
2006-10-02 23:51:29 -04:00
<xsl:variable name= 'Approver' select= '/xep/header/approver' />
2006-10-02 18:22:13 -04:00
<xsl:choose >
<xsl:when test= '$Approver = "Board"' >
2008-12-18 15:09:59 -05:00
<p class= 'indent' > The primary venue for discussion of XMPP Extension Protocols is the < <a href= "http://mail.jabber.org/mailman/listinfo/standards" > standards@xmpp.org</a> > discussion list.</p>
2009-04-20 12:40:19 -04:00
<p class= 'indent' > Discussion by the membership of the XSF might also be appropriate (see < <a href= "http://mail.jabber.org/mailman/listinfo/members" > http://mail.jabber.org/mailman/listinfo/members</a> > for details).</p>
2006-10-02 18:22:13 -04:00
</xsl:when>
<xsl:otherwise >
2008-12-18 15:09:59 -05:00
<p class= 'indent' > The primary venue for discussion of XMPP Extension Protocols is the < <a href= "http://mail.jabber.org/mailman/listinfo/standards" > standards@xmpp.org</a> > discussion list.</p>
2008-11-18 00:07:56 -05:00
<p class= 'indent' > Discussion on other xmpp.org discussion lists might also be appropriate; see < <a href= 'http://xmpp.org/about/discuss.shtml' > http://xmpp.org/about/discuss.shtml</a> > for a complete list.</p>
2006-10-02 23:51:29 -04:00
<xsl:if test= 'contains(/xep/header/dependencies,"RFC")' >
2008-12-18 15:09:59 -05:00
<p class= 'indent' > Given that this XMPP Extension Protocol normatively references IETF technologies, discussion on the < <a href= "http://mail.jabber.org/mailman/listinfo/xsf-ietf" > xsf-ietf@xmpp.org</a> > list might also be appropriate.</p>
2006-10-02 18:22:13 -04:00
</xsl:if>
</xsl:otherwise>
</xsl:choose>
2009-04-20 12:40:19 -04:00
<p class= 'indent' > Errata can be sent to < <a href= 'mailto:editor@xmpp.org' > editor@xmpp.org</a> > .</p>
2009-01-09 13:15:40 -05:00
<!-- CONFORMANCE TERMS -->
2019-04-04 10:36:31 -04:00
<h3 id= 'appendix-conformance' > Appendix F: Requirements Conformance<xsl:call-template name= 'anchor-link' > <xsl:with-param name= 'anchor' select= '"appendix-conformance"' /> </xsl:call-template> </h3>
2009-01-09 13:15:40 -05:00
<p class= 'indent' > The following requirements keywords as used in this document are to be interpreted as described in <a href= 'http://www.ietf.org/rfc/rfc2119.txt' > RFC 2119</a> : "MUST", "SHALL", "REQUIRED"; "MUST NOT", "SHALL NOT"; "SHOULD", "RECOMMENDED"; "SHOULD NOT", "NOT RECOMMENDED"; "MAY", "OPTIONAL".</p>
2006-10-02 18:22:13 -04:00
<!-- NOTES -->
2019-04-04 10:36:31 -04:00
<h3 id= 'appendix-notes' > Appendix G: Notes<xsl:call-template name= 'anchor-link' > <xsl:with-param name= 'anchor' select= '"appendix-notes"' /> </xsl:call-template> </h3>
2017-01-11 05:42:16 -05:00
<div class= 'indent' >
<xsl:for-each select= "//note" >
<xsl:variable name= 'me' select= '.' />
<xsl:variable name= 'firstOccurrence' select= '(//note[. = $me])[1]' />
2017-01-11 10:46:01 -05:00
<xsl:variable name= 'oid' select= 'generate-id($firstOccurrence)' />
2017-01-18 08:43:36 -05:00
<xsl:variable name= 'notenum' select= 'count($firstOccurrence/preceding::note[not(.=preceding::note)]) + count($me/ancestor::note) + 1' />
2017-01-11 05:42:16 -05:00
<xsl:if test= 'generate-id($me) = generate-id($firstOccurrence)' >
<p >
<a name= 'nt-{$oid}' > <xsl:value-of select= '$notenum' /> </a>
<xsl:text > . </xsl:text>
<xsl:apply-templates />
</p>
</xsl:if>
</xsl:for-each>
</div>
2006-10-02 18:22:13 -04:00
<!-- REVISION HISTORY -->
2019-04-04 10:36:31 -04:00
<h3 id= 'appendix-revs' > Appendix H: Revision History<xsl:call-template name= 'anchor-link' > <xsl:with-param name= 'anchor' select= '"appendix-revs"' /> </xsl:call-template> </h3>
2009-12-17 17:02:37 -05:00
<p > Note: Older versions of this specification might be available at <a href= 'http://xmpp.org/extensions/attic/' > http://xmpp.org/extensions/attic/</a> </p>
2019-04-04 11:44:09 -04:00
<ol class= "revision-history" >
2006-10-02 23:51:29 -04:00
<xsl:apply-templates select= '/xep/header/revision' />
2019-04-04 11:44:09 -04:00
</ol>
2006-10-02 18:22:13 -04:00
<p > END</p>
</body>
</html>
</xsl:template>
<!-- From the docbook XSL -->
<xsl:template name= "object.id" >
<xsl:param name= "object" select= "." />
<xsl:choose >
<xsl:when test= "$object/@id" >
<xsl:value-of select= "$object/@id" />
</xsl:when>
<xsl:otherwise >
<xsl:value-of select= "generate-id($object)" />
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name= 'processTOC' >
2019-04-04 12:13:33 -04:00
<a href= "#top" > <h2 > Table of Contents</h2> </a>
2019-04-04 10:36:31 -04:00
<ol class= 'toc' >
<xsl:apply-templates select= '//section1' mode= 'toc' />
</ol>
<h6 > <a href= '#appendices' > Appendices</a> </h6>
<ol class= 'toc-appendices' >
<li > <a href= "#appendix-docinfo" > Document Information</a> </li>
<li > <a href= "#appendix-authorinfo" > Author Information</a> </li>
<li > <a href= "#appendix-legal" > Legal Notices</a> </li>
<li > <a href= "#appendix-xmpp" > Relation to XMPP</a> </li>
<li > <a href= "#appendix-discuss" > Discussion Venue</a> </li>
<li > <a href= "#appendix-conformance" > Requirements Conformance</a> </li>
<li > <a href= "#appendix-notes" > Notes</a> </li>
<li > <a href= "#appendix-revs" > Revision History</a> </li>
</ol>
2006-10-02 18:22:13 -04:00
</xsl:template>
2017-01-11 10:46:01 -05:00
2012-01-11 12:50:27 -05:00
<xsl:template match= 'councilnote' >
<hr />
<div >
<h3 > COUNCIL NOTE</h3>
<xsl:apply-templates />
</div>
</xsl:template>
2006-10-02 18:22:13 -04:00
<xsl:template match= 'author' mode= 'meta' >
<meta >
<xsl:attribute name= 'name' > <xsl:text > DC.Creator</xsl:text> </xsl:attribute>
<xsl:attribute name= 'content' > <xsl:value-of select= 'firstname' /> <xsl:text > </xsl:text> <xsl:value-of select= 'surname' /> </xsl:attribute>
</meta>
</xsl:template>
<xsl:template match= 'author' >
2019-04-04 10:36:31 -04:00
<h5 > <xsl:value-of select= 'firstname' /> <xsl:text > </xsl:text> <xsl:value-of select= 'surname' /> </h5>
<xsl:variable name= 'org.count' select= 'count(org)' />
<xsl:variable name= 'email.count' select= 'count(email)' />
<xsl:variable name= 'jid.count' select= 'count(jid)' />
<xsl:variable name= 'uri.count' select= 'count(uri)' />
<xsl:variable name= 'authornote.count' select= 'count(authornote)' />
<xsl:if test= '$authornote.count > 0' >
See <a href= '#authornote' > Author Note</a> <br />
</xsl:if>
<dl class= 'compact' >
2008-02-13 12:58:17 -05:00
<xsl:if test= '$org.count=1' >
2019-04-04 10:36:31 -04:00
<dt > Organization</dt>
<dd > <xsl:value-of select= 'org' /> </dd>
2006-10-02 18:22:13 -04:00
</xsl:if>
2008-02-13 12:58:17 -05:00
<xsl:if test= '$email.count=1' >
2019-04-04 10:36:31 -04:00
<dt > Email</dt>
<dd >
<a >
<xsl:attribute name= 'href' >
<xsl:text > mailto:</xsl:text>
<xsl:value-of select= 'email' />
</xsl:attribute>
2006-10-02 18:22:13 -04:00
<xsl:value-of select= 'email' />
2019-04-04 10:36:31 -04:00
</a>
</dd>
2006-10-02 18:22:13 -04:00
</xsl:if>
2008-02-13 12:58:17 -05:00
<xsl:if test= '$jid.count=1' >
2019-04-04 10:36:31 -04:00
<dt > JabberID</dt>
<dd >
<a >
<xsl:attribute name= 'href' >
<xsl:text > xmpp:</xsl:text>
<xsl:value-of select= 'jid' />
</xsl:attribute>
2006-10-02 18:22:13 -04:00
<xsl:value-of select= 'jid' />
2019-04-04 10:36:31 -04:00
</a>
</dd>
2007-09-13 17:32:33 -04:00
</xsl:if>
2008-02-13 12:58:17 -05:00
<xsl:if test= '$uri.count=1' >
2019-04-04 10:36:31 -04:00
<dt > URI</dt>
<dd >
<a >
<xsl:attribute name= 'href' >
<xsl:value-of select= 'uri' />
</xsl:attribute>
2007-09-13 17:32:33 -04:00
<xsl:value-of select= 'uri' />
2019-04-04 10:36:31 -04:00
</a>
</dd>
2006-10-02 18:22:13 -04:00
</xsl:if>
2019-04-04 10:36:31 -04:00
</dl>
2006-10-02 18:22:13 -04:00
</xsl:template>
<xsl:template match= 'legal' >
2007-11-08 11:12:22 -05:00
<div class= 'indent' >
2009-01-09 13:15:40 -05:00
<h4 > Copyright</h4>
2019-04-04 10:36:31 -04:00
<p > <xsl:apply-templates select= '/xep/header/legal/copyright' /> </p>
2009-01-09 13:15:40 -05:00
<h4 > Permissions</h4>
2019-04-04 10:36:31 -04:00
<p > <xsl:apply-templates select= '/xep/header/legal/permissions' /> </p>
2009-01-09 13:15:40 -05:00
<h4 > Disclaimer of Warranty</h4>
2019-04-04 10:36:31 -04:00
<p class= "box info" >
2008-01-23 17:55:55 -05:00
<xsl:apply-templates select= '/xep/header/legal/warranty' />
2019-04-04 10:36:31 -04:00
</p>
2009-01-09 13:15:40 -05:00
<h4 > Limitation of Liability</h4>
2019-04-04 10:36:31 -04:00
<p > <xsl:apply-templates select= '/xep/header/legal/liability' /> </p>
2009-01-09 13:15:40 -05:00
<h4 > IPR Conformance</h4>
2019-04-04 10:36:31 -04:00
<p > <xsl:apply-templates select= '/xep/header/legal/conformance' /> </p>
2019-04-05 11:45:04 -04:00
<h4 > Visual Presentation</h4>
<p > The HTML representation (you are looking at) is maintained by the XSF. It is based on the <a href= "http://yaml.de" > YAML CSS Framework</a> , which is licensed under the terms of the <a href= "https://creativecommons.org/licenses/by/2.0/" > CC-BY-SA 2.0</a> license.</p>
2007-11-08 11:12:22 -05:00
</div>
2006-10-02 18:22:13 -04:00
</xsl:template>
<xsl:template match= 'spec' >
<xsl:param name= 'speccount' select= '""' />
<xsl:variable name= 'specpos' select= 'position()' />
2017-01-28 14:15:02 -05:00
<xsl:value-of select= '.' />
<xsl:if test= '$specpos < $speccount' >
<xsl:text > , </xsl:text>
</xsl:if>
2006-10-02 18:22:13 -04:00
</xsl:template>
<xsl:template match= 'schemaloc' >
<xsl:variable name= 'this.url' select= 'url' />
<xsl:variable name= 'ns.count' select= 'count(ns)' />
2019-04-04 10:36:31 -04:00
<dd >
2006-10-02 18:22:13 -04:00
<xsl:choose >
2008-02-13 12:58:17 -05:00
<xsl:when test= "$ns.count=1" >
2016-10-13 18:23:30 -04:00
XML Schema for the '<xsl:value-of select= 'ns' /> ' namespace: < <a href= '{$this.url}' > <xsl:value-of select= 'url' /> </a> > <br />
2006-10-02 18:22:13 -04:00
</xsl:when>
<xsl:otherwise >
2019-04-04 10:36:31 -04:00
< <a href= '{$this.url}' > <xsl:value-of select= 'url' /> </a> > <br />
2006-10-02 18:22:13 -04:00
</xsl:otherwise>
</xsl:choose>
2019-04-04 10:36:31 -04:00
</dd>
2006-10-02 18:22:13 -04:00
</xsl:template>
<xsl:template match= 'revision' >
2019-04-04 11:44:09 -04:00
<li >
2019-04-05 11:38:25 -04:00
<xsl:variable name= 'anchor' > revision-history-v<xsl:value-of select= 'version' /> </xsl:variable>
<xsl:attribute name= 'id' > <xsl:value-of select= '$anchor' /> </xsl:attribute>
<div class= 'revision-head' > Version <xsl:value-of select= 'version' /> <xsl:text > </xsl:text> (<xsl:value-of select= 'date' /> )<xsl:call-template name= 'anchor-link' > <xsl:with-param name= 'anchor' select= '$anchor' /> </xsl:call-template> </div>
2019-04-04 11:44:09 -04:00
<xsl:apply-templates select= 'remark' />
2019-04-05 11:38:25 -04:00
<div class= 'revision-author' > <xsl:value-of select= 'initials' /> </div>
2019-04-04 11:44:09 -04:00
</li>
2006-10-02 18:22:13 -04:00
</xsl:template>
<xsl:template match= 'section1' mode= 'toc' >
<xsl:variable name= 'oid' >
<xsl:call-template name= 'object.id' />
</xsl:variable>
<xsl:variable name= 'anch' >
<xsl:value-of select= '@anchor' />
</xsl:variable>
<xsl:variable name= 'num' >
<xsl:number level= 'multiple' count= 'section1' /> <xsl:text > .</xsl:text>
</xsl:variable>
<xsl:variable name= 'sect2.count' select= 'count(section2)' />
2019-04-04 10:36:31 -04:00
<li >
2006-10-02 18:22:13 -04:00
<a >
<xsl:attribute name= 'href' >
<xsl:text > #</xsl:text>
<xsl:choose >
<xsl:when test= '$anch != ""' >
<xsl:value-of select= '@anchor' />
</xsl:when>
<xsl:otherwise >
<xsl:text > sect-</xsl:text>
<xsl:value-of select= '$oid' />
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
<xsl:value-of select= '@topic' />
</a>
2019-04-04 10:36:31 -04:00
<xsl:if test= '$sect2.count > 0' >
<ol >
<xsl:apply-templates select= 'section2' mode= 'toc' >
<xsl:with-param name= 'prevnum' select= '$num' />
</xsl:apply-templates>
</ol>
</xsl:if>
</li>
2006-10-02 18:22:13 -04:00
</xsl:template>
<xsl:template match= 'section1' >
<xsl:variable name= 'oid' >
<xsl:call-template name= 'object.id' />
</xsl:variable>
<xsl:variable name= 'anch' >
<xsl:value-of select= '@anchor' />
</xsl:variable>
<h2 >
2019-04-04 10:36:31 -04:00
<xsl:variable name= 'anchor' >
<xsl:choose >
<xsl:when test= '$anch != ""' >
<xsl:value-of select= '@anchor' />
</xsl:when>
<xsl:otherwise >
<xsl:text > sect-</xsl:text> <xsl:value-of select= '$oid' />
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:attribute name= 'id' > <xsl:value-of select= '$anchor' /> </xsl:attribute>
2006-10-02 18:22:13 -04:00
<xsl:number level= 'single' count= 'section1' /> .
<xsl:text > </xsl:text>
2019-04-04 10:36:31 -04:00
<xsl:value-of select= '@topic' />
<xsl:call-template name= 'anchor-link' > <xsl:with-param name= 'anchor' select= '$anchor' /> </xsl:call-template>
2006-10-02 18:22:13 -04:00
</h2>
<xsl:apply-templates />
</xsl:template>
<xsl:template match= 'section2' mode= 'toc' >
<xsl:param name= 'prevnum' select= '""' />
<xsl:variable name= 'oid' >
<xsl:call-template name= 'object.id' />
</xsl:variable>
<xsl:variable name= 'anch' >
<xsl:value-of select= '@anchor' />
</xsl:variable>
<xsl:variable name= 'num' >
<xsl:value-of select= '$prevnum' /> <xsl:number level= 'multiple' count= 'section2' /> <xsl:text > .</xsl:text>
</xsl:variable>
<xsl:variable name= 'sect3.count' select= 'count(section3)' />
2019-04-04 10:36:31 -04:00
<li >
2006-10-02 18:22:13 -04:00
<a >
<xsl:attribute name= 'href' >
<xsl:text > #</xsl:text>
<xsl:choose >
<xsl:when test= '$anch != ""' >
<xsl:value-of select= '@anchor' />
</xsl:when>
<xsl:otherwise >
<xsl:text > sect-</xsl:text> <xsl:value-of select= '$oid' />
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
<xsl:value-of select= '@topic' />
</a>
2019-04-04 10:36:31 -04:00
<xsl:if test= '$sect3.count > 0' >
<ol >
<xsl:apply-templates select= 'section3' mode= 'toc' >
<xsl:with-param name= 'prevnum' select= '$num' />
</xsl:apply-templates>
</ol>
</xsl:if>
</li>
2006-10-02 18:22:13 -04:00
</xsl:template>
<xsl:template match= 'section2' >
<xsl:variable name= 'oid' >
<xsl:call-template name= 'object.id' />
</xsl:variable>
<xsl:variable name= 'anch' >
<xsl:value-of select= '@anchor' />
</xsl:variable>
<div class= 'indent' >
<h3 >
2019-04-04 10:36:31 -04:00
<xsl:variable name= 'anchor' >
<xsl:choose >
<xsl:when test= '$anch != ""' >
<xsl:value-of select= '@anchor' />
</xsl:when>
<xsl:otherwise >
<xsl:text > sect-</xsl:text> <xsl:value-of select= '$oid' />
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:attribute name= 'id' > <xsl:value-of select= '$anchor' /> </xsl:attribute>
2006-10-02 18:22:13 -04:00
<xsl:number level= 'single' count= 'section1' /> .<xsl:number level= 'single' count= 'section2' />
<xsl:text > </xsl:text>
2019-04-04 10:36:31 -04:00
<xsl:value-of select= '@topic' />
<xsl:call-template name= 'anchor-link' > <xsl:with-param name= 'anchor' select= '$anchor' /> </xsl:call-template>
2006-10-02 18:22:13 -04:00
</h3>
<xsl:apply-templates />
</div>
</xsl:template>
<xsl:template match= 'section3' mode= 'toc' >
<xsl:param name= 'prevnum' select= '""' />
<xsl:variable name= 'oid' >
<xsl:call-template name= 'object.id' />
</xsl:variable>
<xsl:variable name= 'anch' >
<xsl:value-of select= '@anchor' />
</xsl:variable>
<xsl:variable name= 'num' >
<xsl:value-of select= '$prevnum' /> <xsl:number level= 'multiple' count= 'section3' /> <xsl:text > .</xsl:text>
</xsl:variable>
<xsl:variable name= 'sect4.count' select= 'count(section4)' />
2019-04-04 10:36:31 -04:00
<li >
2006-10-02 18:22:13 -04:00
<a >
<xsl:attribute name= 'href' >
<xsl:text > #</xsl:text>
<xsl:choose >
<xsl:when test= '$anch != ""' >
<xsl:value-of select= '@anchor' />
</xsl:when>
<xsl:otherwise >
<xsl:text > sect-</xsl:text> <xsl:value-of select= '$oid' />
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
<xsl:value-of select= '@topic' />
</a>
2019-04-04 10:36:31 -04:00
<xsl:if test= '$sect4.count > 0' >
<ol >
<xsl:apply-templates select= 'section4' mode= 'toc' >
<xsl:with-param name= 'prevnum' select= '$num' />
</xsl:apply-templates>
</ol>
</xsl:if>
</li>
2006-10-02 18:22:13 -04:00
</xsl:template>
<xsl:template match= 'section3' >
<xsl:variable name= 'oid' >
<xsl:call-template name= 'object.id' />
</xsl:variable>
<xsl:variable name= 'anch' >
<xsl:value-of select= '@anchor' />
</xsl:variable>
<div class= 'indent' >
2019-04-04 10:36:31 -04:00
<h4 >
<xsl:variable name= 'anchor' >
<xsl:choose >
<xsl:when test= '$anch != ""' >
<xsl:value-of select= '@anchor' />
</xsl:when>
<xsl:otherwise >
<xsl:text > sect-</xsl:text> <xsl:value-of select= '$oid' />
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:attribute name= 'id' > <xsl:value-of select= '$anchor' /> </xsl:attribute>
2006-10-02 18:22:13 -04:00
<xsl:number level= 'single' count= 'section1' /> .<xsl:number level= 'single' count= 'section2' /> .<xsl:number level= 'single' count= 'section3' />
<xsl:text > </xsl:text>
2019-04-04 10:36:31 -04:00
<xsl:value-of select= '@topic' />
<xsl:call-template name= 'anchor-link' > <xsl:with-param name= 'anchor' select= '$anchor' /> </xsl:call-template>
</h4>
2006-10-02 18:22:13 -04:00
<xsl:apply-templates />
</div>
</xsl:template>
<xsl:template match= 'section4' mode= 'toc' >
<xsl:param name= 'prevnum' select= '""' />
<xsl:variable name= 'oid' >
<xsl:call-template name= 'object.id' />
</xsl:variable>
<xsl:variable name= 'anch' >
<xsl:value-of select= '@anchor' />
</xsl:variable>
<xsl:variable name= 'num' >
<xsl:value-of select= '$prevnum' /> <xsl:number level= 'multiple' count= 'section4' /> <xsl:text > .</xsl:text>
</xsl:variable>
2019-04-04 10:36:31 -04:00
<li >
2006-10-02 18:22:13 -04:00
<a >
<xsl:attribute name= 'href' >
<xsl:text > #</xsl:text>
<xsl:choose >
<xsl:when test= '$anch != ""' >
<xsl:value-of select= '@anchor' />
</xsl:when>
<xsl:otherwise >
<xsl:text > sect-</xsl:text> <xsl:value-of select= '$oid' />
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
<xsl:value-of select= '@topic' />
</a>
2019-04-04 10:36:31 -04:00
</li>
2006-10-02 18:22:13 -04:00
</xsl:template>
<xsl:template match= 'section4' >
<xsl:variable name= 'oid' >
<xsl:call-template name= 'object.id' />
</xsl:variable>
<xsl:variable name= 'anch' >
<xsl:value-of select= '@anchor' />
</xsl:variable>
<div class= 'indent' >
2019-04-04 10:36:31 -04:00
<h5 >
<xsl:attribute name= 'id' >
<xsl:choose >
<xsl:when test= '$anch != ""' >
<xsl:value-of select= '@anchor' />
</xsl:when>
<xsl:otherwise >
<xsl:text > sect-</xsl:text> <xsl:value-of select= '$oid' />
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
2006-10-02 18:22:13 -04:00
<xsl:number level= 'single' count= 'section1' /> .<xsl:number level= 'single' count= 'section2' /> .<xsl:number level= 'single' count= 'section3' /> .<xsl:number level= 'single' count= 'section4' />
<xsl:text > </xsl:text>
2019-04-04 10:36:31 -04:00
<xsl:value-of select= '@topic' />
</h5>
2006-10-02 18:22:13 -04:00
<xsl:apply-templates />
</div>
</xsl:template>
2020-03-08 06:55:06 -04:00
<xsl:template match= 'section5' >
<xsl:variable name= 'oid' >
<xsl:call-template name= 'object.id' />
</xsl:variable>
<xsl:variable name= 'anch' >
<xsl:value-of select= '@anchor' />
</xsl:variable>
<div class= 'indent' >
<h6 >
<xsl:attribute name= 'id' >
<xsl:choose >
<xsl:when test= '$anch != ""' >
<xsl:value-of select= '@anchor' />
</xsl:when>
<xsl:otherwise >
<xsl:text > sect-</xsl:text> <xsl:value-of select= '$oid' />
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
<xsl:number level= 'single' count= 'section1' /> .<xsl:number level= 'single' count= 'section2' /> .<xsl:number level= 'single' count= 'section3' /> .<xsl:number level= 'single' count= 'section4' /> .<xsl:number level= 'single' count= 'section5' />
<xsl:text > </xsl:text>
<xsl:value-of select= '@topic' />
</h6>
<xsl:apply-templates />
</div>
</xsl:template>
2006-10-02 18:22:13 -04:00
<xsl:template match= 'remark' >
<xsl:apply-templates />
</xsl:template>
<xsl:template match= 'p' >
<p >
<xsl:variable name= 'class.count' select= 'count(@class)' />
2008-02-13 12:58:17 -05:00
<xsl:if test= '$class.count=1' >
2006-10-02 18:22:13 -04:00
<xsl:attribute name= 'class' > <xsl:value-of select= '@class' /> </xsl:attribute>
</xsl:if>
<xsl:variable name= 'style.count' select= 'count(@style)' />
2008-02-13 12:58:17 -05:00
<xsl:if test= '$style.count=1' >
2006-10-02 18:22:13 -04:00
<xsl:attribute name= 'style' > <xsl:value-of select= '@style' /> </xsl:attribute>
</xsl:if>
<xsl:apply-templates />
</p>
</xsl:template>
2008-06-13 14:01:46 -04:00
<xsl:template match= 'br' >
<br />
</xsl:template>
2006-10-02 18:22:13 -04:00
<xsl:template match= 'ul' >
<ul >
<xsl:variable name= 'class.count' select= 'count(@class)' />
2008-02-13 12:58:17 -05:00
<xsl:if test= '$class.count=1' >
2006-10-02 18:22:13 -04:00
<xsl:attribute name= 'class' > <xsl:value-of select= '@class' /> </xsl:attribute>
</xsl:if>
<xsl:variable name= 'style.count' select= 'count(@style)' />
2008-02-13 12:58:17 -05:00
<xsl:if test= '$style.count=1' >
2006-10-02 18:22:13 -04:00
<xsl:attribute name= 'style' > <xsl:value-of select= '@style' /> </xsl:attribute>
</xsl:if>
<xsl:apply-templates />
</ul>
</xsl:template>
<xsl:template match= 'ol' >
<ol >
<xsl:variable name= 'start.count' select= 'count(@start)' />
2008-02-13 12:58:17 -05:00
<xsl:if test= '$start.count=1' >
2006-10-02 18:22:13 -04:00
<xsl:attribute name= 'start' > <xsl:value-of select= '@start' /> </xsl:attribute>
</xsl:if>
<xsl:variable name= 'class.count' select= 'count(@class)' />
2008-02-13 12:58:17 -05:00
<xsl:if test= '$class.count=1' >
2006-10-02 18:22:13 -04:00
<xsl:attribute name= 'class' > <xsl:value-of select= '@class' /> </xsl:attribute>
</xsl:if>
<xsl:variable name= 'style.count' select= 'count(@style)' />
2008-02-13 12:58:17 -05:00
<xsl:if test= '$style.count=1' >
2006-10-02 18:22:13 -04:00
<xsl:attribute name= 'style' > <xsl:value-of select= '@style' /> </xsl:attribute>
</xsl:if>
<xsl:apply-templates />
</ol>
</xsl:template>
<xsl:template match= 'li' >
<li >
<xsl:variable name= 'class.count' select= 'count(@class)' />
2008-02-13 12:58:17 -05:00
<xsl:if test= '$class.count=1' >
2006-10-02 18:22:13 -04:00
<xsl:attribute name= 'class' > <xsl:value-of select= '@class' /> </xsl:attribute>
</xsl:if>
<xsl:variable name= 'style.count' select= 'count(@style)' />
2008-02-13 12:58:17 -05:00
<xsl:if test= '$style.count=1' >
2006-10-02 18:22:13 -04:00
<xsl:attribute name= 'style' > <xsl:value-of select= '@style' /> </xsl:attribute>
</xsl:if>
<xsl:apply-templates />
</li>
</xsl:template>
<xsl:template match= 'link' >
<a >
<xsl:attribute name= 'href' > <xsl:value-of select= '@url' /> </xsl:attribute>
<xsl:apply-templates />
</a>
</xsl:template>
2019-04-04 10:36:31 -04:00
<xsl:template name= 'anchor-link' >
<xsl:param name= 'anchor' />
<a class= 'anchor-link' >
<xsl:attribute name= 'href' > #<xsl:value-of select= '$anchor' /> </xsl:attribute>
<abbr title= "Link to this point in the document" > ¶</abbr>
</a>
</xsl:template>
2006-10-02 18:22:13 -04:00
<xsl:template match= 'example' >
2019-04-04 10:36:31 -04:00
<figure class= 'code-example' >
<xsl:variable name= 'anchor' > <xsl:text > example-</xsl:text> <xsl:number level= 'any' count= 'example' /> </xsl:variable>
<xsl:attribute name= 'id' > <xsl:value-of select= '$anchor' /> </xsl:attribute>
<figcaption > <strong > Example <xsl:number level= 'any' count= 'example' /> .</strong> <xsl:text > </xsl:text> <xsl:value-of select= '@caption' /> <xsl:call-template name= 'anchor-link' > <xsl:with-param name= 'anchor' select= '$anchor' /> </xsl:call-template> </figcaption>
2009-11-02 13:29:47 -05:00
<pre class= 'prettyprint' > <xsl:apply-templates /> </pre>
2019-04-04 10:36:31 -04:00
</figure>
2006-10-02 18:22:13 -04:00
</xsl:template>
<xsl:template match= 'code' >
2019-04-04 10:36:31 -04:00
<figure class= 'code' >
<figcaption > <xsl:value-of select= '@caption' /> </figcaption>
2009-11-02 13:05:12 -05:00
<pre class= 'prettyprint' > <xsl:apply-templates /> </pre>
2019-04-04 10:36:31 -04:00
</figure>
2006-10-02 18:22:13 -04:00
</xsl:template>
<xsl:template match= 'img' >
<img >
2007-02-16 00:20:39 -05:00
<xsl:attribute name= 'alt' > <xsl:value-of select= '@alt' /> </xsl:attribute>
<xsl:attribute name= 'height' > <xsl:value-of select= '@height' /> </xsl:attribute>
2006-10-02 18:22:13 -04:00
<xsl:attribute name= 'src' > <xsl:value-of select= '@src' /> </xsl:attribute>
2007-02-16 00:20:39 -05:00
<xsl:attribute name= 'width' > <xsl:value-of select= '@width' /> </xsl:attribute>
2006-10-02 18:22:13 -04:00
</img>
</xsl:template>
<xsl:template match= 'table' >
2019-04-04 10:36:31 -04:00
<figure class= 'table' >
<figcaption >
<xsl:variable name= 'anchor' > <xsl:text > table-</xsl:text> <xsl:number level= 'any' count= 'table' /> </xsl:variable>
<xsl:attribute name= 'id' > <xsl:value-of select= '$anchor' /> </xsl:attribute>
<strong > Table <xsl:number level= 'any' count= 'table' /> :</strong> <xsl:text > </xsl:text> <xsl:value-of select= '@caption' />
<xsl:call-template name= 'anchor-link' > <xsl:with-param name= 'anchor' select= '$anchor' /> </xsl:call-template>
</figcaption>
<table >
2008-07-03 23:38:46 -04:00
<xsl:apply-templates />
</table>
2019-04-04 10:36:31 -04:00
</figure>
2006-10-02 18:22:13 -04:00
</xsl:template>
<xsl:template match= 'tr' >
<tr class= 'body' >
<xsl:apply-templates />
</tr>
</xsl:template>
<xsl:template match= 'th' >
<th >
2007-02-13 18:01:37 -05:00
<xsl:variable name= 'colspan.count' select= 'count(@colspan)' />
<xsl:variable name= 'rowspan.count' select= 'count(@rowspan)' />
2008-02-13 12:58:17 -05:00
<xsl:if test= '$colspan.count=1' >
2007-02-13 18:01:37 -05:00
<xsl:attribute name= 'colspan' > <xsl:value-of select= '@colspan' /> </xsl:attribute>
</xsl:if>
2008-02-13 12:58:17 -05:00
<xsl:if test= '$rowspan.count=1' >
2007-02-13 18:01:37 -05:00
<xsl:attribute name= 'rowspan' > <xsl:value-of select= '@rowspan' /> </xsl:attribute>
</xsl:if>
2006-10-02 18:22:13 -04:00
<xsl:apply-templates />
</th>
</xsl:template>
<xsl:template match= 'td' >
<td >
2007-02-13 18:01:37 -05:00
<xsl:variable name= 'align.count' select= 'count(@align)' />
<xsl:variable name= 'colspan.count' select= 'count(@colspan)' />
<xsl:variable name= 'rowspan.count' select= 'count(@rowspan)' />
2008-02-13 12:58:17 -05:00
<xsl:if test= '$align.count=1' >
2007-02-13 18:01:37 -05:00
<xsl:attribute name= 'align' > <xsl:value-of select= '@align' /> </xsl:attribute>
</xsl:if>
2008-02-13 12:58:17 -05:00
<xsl:if test= '$colspan.count=1' >
2007-02-13 18:01:37 -05:00
<xsl:attribute name= 'colspan' > <xsl:value-of select= '@colspan' /> </xsl:attribute>
</xsl:if>
2008-02-13 12:58:17 -05:00
<xsl:if test= '$rowspan.count=1' >
2007-02-13 18:01:37 -05:00
<xsl:attribute name= 'rowspan' > <xsl:value-of select= '@rowspan' /> </xsl:attribute>
</xsl:if>
2006-10-02 18:22:13 -04:00
<xsl:apply-templates />
</td>
</xsl:template>
2009-03-21 00:18:54 -04:00
<xsl:template match= 'dl' >
<div class= 'indent' >
<dl >
<xsl:apply-templates />
</dl>
</div>
</xsl:template>
<xsl:template match= 'di' >
2020-03-03 11:31:59 -05:00
<xsl:apply-templates />
2009-03-21 00:18:54 -04:00
</xsl:template>
<xsl:template match= 'dt' >
<dt >
<strong > <xsl:apply-templates /> </strong>
</dt>
</xsl:template>
<xsl:template match= 'dd' >
<dd >
<xsl:apply-templates />
</dd>
</xsl:template>
2017-01-11 05:42:16 -05:00
2006-10-02 18:22:13 -04:00
<xsl:template match= 'note' >
2017-01-11 05:42:16 -05:00
<xsl:variable name= 'me' select= '.' />
<xsl:variable name= 'firstOccurrence' select= '(//note[. = $me])[1]' />
2017-01-11 10:46:01 -05:00
<xsl:variable name= 'oid' select= 'generate-id($firstOccurrence)' />
2017-01-18 08:43:36 -05:00
<xsl:variable name= 'notenum' select= 'count($firstOccurrence/preceding::note[not(.=preceding::note)]) + count($me/ancestor::note) + 1' />
2017-01-11 10:09:47 -05:00
<xsl:text > [</xsl:text> <a href= '#nt-{$oid}' >
2006-10-02 18:22:13 -04:00
<xsl:value-of select= '$notenum' /> </a>
<xsl:text > ]</xsl:text>
</xsl:template>
2007-01-24 14:43:52 -05:00
<!-- PRESENTATIONAL ELEMENTS -->
2006-10-02 18:22:13 -04:00
2008-08-06 12:57:12 -04:00
<xsl:template match= 'blockquote' >
<blockquote >
<xsl:apply-templates />
</blockquote>
</xsl:template>
2007-01-24 14:43:52 -05:00
<xsl:template match= 'cite' >
2007-05-01 18:35:56 -04:00
<span class= 'ref' >
2006-10-02 18:22:13 -04:00
<xsl:apply-templates />
</span>
</xsl:template>
2007-01-24 14:43:52 -05:00
<xsl:template match= 'dfn' >
<span class= 'dfn' >
2006-10-02 18:22:13 -04:00
<xsl:apply-templates />
</span>
</xsl:template>
<xsl:template match= 'div' >
2019-04-04 12:36:38 -04:00
<xsl:variable name= 'type' >
<xsl:choose >
<xsl:when test= '@class = "example"' > figure</xsl:when>
<xsl:otherwise > div</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:element name= '{$type}' >
2006-10-02 18:22:13 -04:00
<xsl:variable name= 'class.count' select= 'count(@class)' />
2008-02-13 12:58:17 -05:00
<xsl:if test= '$class.count=1' >
2006-10-02 18:22:13 -04:00
<xsl:attribute name= 'class' > <xsl:value-of select= '@class' /> </xsl:attribute>
</xsl:if>
<xsl:variable name= 'style.count' select= 'count(@style)' />
2008-02-13 12:58:17 -05:00
<xsl:if test= '$style.count=1' >
2006-10-02 18:22:13 -04:00
<xsl:attribute name= 'style' > <xsl:value-of select= '@style' /> </xsl:attribute>
</xsl:if>
<xsl:apply-templates />
2019-04-04 12:36:38 -04:00
</xsl:element>
2006-10-02 18:22:13 -04:00
</xsl:template>
2007-01-24 14:43:52 -05:00
<xsl:template match= 'em' >
2019-04-04 10:36:31 -04:00
<em >
2007-01-24 14:43:52 -05:00
<xsl:apply-templates />
2019-04-04 10:36:31 -04:00
</em>
2007-01-24 14:43:52 -05:00
</xsl:template>
2013-11-27 16:33:44 -05:00
<xsl:template match= 'sub' >
<sub > <xsl:apply-templates /> </sub>
</xsl:template>
2007-01-24 14:43:52 -05:00
<xsl:template match= 'pre' >
<pre > <xsl:apply-templates /> </pre>
</xsl:template>
2006-10-02 18:22:13 -04:00
<xsl:template match= 'span' >
<span >
<xsl:variable name= 'class.count' select= 'count(@class)' />
2008-02-13 12:58:17 -05:00
<xsl:if test= '$class.count=1' >
2006-10-02 18:22:13 -04:00
<xsl:attribute name= 'class' > <xsl:value-of select= '@class' /> </xsl:attribute>
</xsl:if>
<xsl:variable name= 'style.count' select= 'count(@style)' />
2008-02-13 12:58:17 -05:00
<xsl:if test= '$style.count=1' >
2006-10-02 18:22:13 -04:00
<xsl:attribute name= 'style' > <xsl:value-of select= '@style' /> </xsl:attribute>
</xsl:if>
<xsl:apply-templates />
</span>
</xsl:template>
2007-01-24 14:43:52 -05:00
<xsl:template match= 'strong' >
2019-04-04 10:36:31 -04:00
<strong >
2007-01-24 14:43:52 -05:00
<xsl:apply-templates />
2019-04-04 10:36:31 -04:00
</strong>
2007-01-24 14:43:52 -05:00
</xsl:template>
<xsl:template match= 'tt' >
2019-04-04 10:36:31 -04:00
<code >
2007-01-24 14:43:52 -05:00
<xsl:apply-templates />
2019-04-04 10:36:31 -04:00
</code>
2007-01-24 14:43:52 -05:00
</xsl:template>
2006-10-02 18:22:13 -04:00
<!-- END OF PRESENTATIONAL ELEMENTS -->
</xsl:stylesheet>