mirror of
https://github.com/moparisthebest/xeps
synced 2024-12-22 07:38:52 -05:00
JEP to XEP fixes
git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@252 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
parent
b97cad065f
commit
968593d77c
@ -8,17 +8,17 @@
|
|||||||
<xsl:template match='/'>
|
<xsl:template match='/'>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title><xsl:value-of select='/jep/header/shortname'/></title>
|
<title><xsl:value-of select='/xep/header/shortname'/></title>
|
||||||
<link rel='stylesheet' type='text/css' href='/xmpp.css' />
|
<link rel='stylesheet' type='text/css' href='/xmpp.css' />
|
||||||
<link rel='shortcut icon' type='image/x-icon' href='/favicon.ico' />
|
<link rel='shortcut icon' type='image/x-icon' href='/favicon.ico' />
|
||||||
<link>
|
<link>
|
||||||
<xsl:attribute name='rel'><xsl:text>alternate</xsl:text></xsl:attribute>
|
<xsl:attribute name='rel'><xsl:text>alternate</xsl:text></xsl:attribute>
|
||||||
<xsl:attribute name='href'><xsl:text>http://www.jabber.org/jeps/jep-</xsl:text><xsl:value-of select='/jep/header/number'/><xsl:text>.html</xsl:text></xsl:attribute>
|
<xsl:attribute name='href'><xsl:text>http://www.xmpp.org/extensions/xep-</xsl:text><xsl:value-of select='/xep/header/number'/><xsl:text>.html</xsl:text></xsl:attribute>
|
||||||
</link>
|
</link>
|
||||||
<!-- BEGIN META TAGS FOR DUBLIN CORE -->
|
<!-- BEGIN META TAGS FOR DUBLIN CORE -->
|
||||||
<meta>
|
<meta>
|
||||||
<xsl:attribute name='name'><xsl:text>DC.Title</xsl:text></xsl:attribute>
|
<xsl:attribute name='name'><xsl:text>DC.Title</xsl:text></xsl:attribute>
|
||||||
<xsl:attribute name='content'><xsl:value-of select='/jep/header/shortname'/></xsl:attribute>
|
<xsl:attribute name='content'><xsl:value-of select='/xep/header/shortname'/></xsl:attribute>
|
||||||
</meta>
|
</meta>
|
||||||
<meta>
|
<meta>
|
||||||
<xsl:attribute name='name'><xsl:text>DC.Publisher</xsl:text></xsl:attribute>
|
<xsl:attribute name='name'><xsl:text>DC.Publisher</xsl:text></xsl:attribute>
|
||||||
@ -26,32 +26,32 @@
|
|||||||
</meta>
|
</meta>
|
||||||
<meta>
|
<meta>
|
||||||
<xsl:attribute name='name'><xsl:text>DC.Date</xsl:text></xsl:attribute>
|
<xsl:attribute name='name'><xsl:text>DC.Date</xsl:text></xsl:attribute>
|
||||||
<xsl:attribute name='content'><xsl:value-of select='/jep/header/revision/date'/></xsl:attribute>
|
<xsl:attribute name='content'><xsl:value-of select='/xep/header/revision/date'/></xsl:attribute>
|
||||||
</meta>
|
</meta>
|
||||||
<!-- END META TAGS FOR DUBLIN CORE -->
|
<!-- END META TAGS FOR DUBLIN CORE -->
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1><xsl:value-of select='/jep/header/shortname'/></h1>
|
<h1><xsl:value-of select='/xep/header/shortname'/></h1>
|
||||||
<p>This page provides information about the XML namespaces defined in
|
<p>This page provides information about the XML namespaces defined in
|
||||||
<a>
|
<a>
|
||||||
<xsl:attribute name='href'>
|
<xsl:attribute name='href'>
|
||||||
<xsl:text>http://www.jabber.org/jeps/jep-</xsl:text>
|
<xsl:text>http://www.xmpp.org/extensions/xep-</xsl:text>
|
||||||
<xsl:value-of select='/jep/header/number'/>
|
<xsl:value-of select='/xep/header/number'/>
|
||||||
<xsl:text>.html</xsl:text>
|
<xsl:text>.html</xsl:text>
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
<xsl:text>XEP-</xsl:text><xsl:value-of select='/jep/header/number' />:<xsl:text> </xsl:text><xsl:value-of select='/jep/header/title' />
|
<xsl:text>XEP-</xsl:text><xsl:value-of select='/xep/header/number' />:<xsl:text> </xsl:text><xsl:value-of select='/xep/header/title' />
|
||||||
</a>
|
</a>
|
||||||
(part of the <a href="http://www.jabber.org/jeps/">XEP series</a> published by the <a href="http://www.jabber.org/jsf/">Jabber Software Foundation</a>).</p>
|
(part of the <a href="http://www.xmpp.org/extensions/">XEP series</a> published by the <a href="http://www.jabber.org/jsf/">Jabber Software Foundation</a>).</p>
|
||||||
|
|
||||||
<xsl:variable name='schema.count' select='count(/jep/header/schemaloc)'/>
|
<xsl:variable name='schema.count' select='count(/xep/header/schemaloc)'/>
|
||||||
<xsl:if test='$schema.count > 0'>
|
<xsl:if test='$schema.count > 0'>
|
||||||
<p>The following XML schemas are available for the <xsl:value-of select='/jep/header/title' /> protocol:</p>
|
<p>The following XML schemas are available for the <xsl:value-of select='/xep/header/title' /> protocol:</p>
|
||||||
<ul>
|
<ul>
|
||||||
<xsl:apply-templates select='/jep/header/schemaloc'/>
|
<xsl:apply-templates select='/xep/header/schemaloc'/>
|
||||||
</ul>
|
</ul>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
|
|
||||||
<p>Last Updated: <xsl:value-of select='/jep/header/revision/date'/></p>
|
<p>Last Updated: <xsl:value-of select='/xep/header/revision/date'/></p>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
Reference in New Issue
Block a user