mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-21 16:55:07 -05:00
author URIs
git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@1214 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
parent
3b5a972c3a
commit
e373d066cf
3
xep.dtd
3
xep.dtd
@ -20,13 +20,14 @@
|
||||
<!ELEMENT url (#PCDATA)* >
|
||||
<!ELEMENT registry EMPTY>
|
||||
<!ELEMENT expires (#PCDATA)* >
|
||||
<!ELEMENT author ( firstname, surname, authornote?, org?, email?, jid? ) >
|
||||
<!ELEMENT author ( firstname, surname, authornote?, org?, email?, jid?, uri? ) >
|
||||
<!ELEMENT firstname (#PCDATA)* >
|
||||
<!ELEMENT surname (#PCDATA)* >
|
||||
<!ELEMENT authornote EMPTY>
|
||||
<!ELEMENT org (#PCDATA)* >
|
||||
<!ELEMENT email (#PCDATA)* >
|
||||
<!ELEMENT jid (#PCDATA)* >
|
||||
<!ELEMENT uri (#PCDATA)* >
|
||||
<!ELEMENT revision ( version, date, initials, remark ) >
|
||||
<!ELEMENT version (#PCDATA)* >
|
||||
<!ELEMENT date (#PCDATA)* >
|
||||
|
2
xep.ent
2
xep.ent
@ -536,8 +536,8 @@ IANA Service Location Protocol, Version 2 (SLPv2) Templates</link></span> <note>
|
||||
<author>
|
||||
<firstname>Peter</firstname>
|
||||
<surname>Saint-Andre</surname>
|
||||
<email>stpeter@jabber.org</email>
|
||||
<jid>stpeter@jabber.org</jid>
|
||||
<uri>https://stpeter.im/</uri>
|
||||
</author>
|
||||
" >
|
||||
<!ENTITY dizzyd "
|
||||
|
3
xep.xsd
3
xep.xsd
@ -123,8 +123,9 @@
|
||||
<xs:element name='surname' type='xs:string'/>
|
||||
<xs:element name='authornote' type='empty' minOccurs='0'/>
|
||||
<xs:element name='org' type='xs:string' minOccurs='0'/>
|
||||
<xs:element name='email' type='xs:string'/>
|
||||
<xs:element name='email' type='xs:string' minOccurs='0'/>
|
||||
<xs:element name='jid' type='xs:string' minOccurs='0'/>
|
||||
<xs:element name='uri' type='xs:string' minOccurs='0'/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
12
xep.xsl
12
xep.xsl
@ -306,6 +306,7 @@
|
||||
<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 />
|
||||
@ -333,6 +334,17 @@
|
||||
</xsl:attribute>
|
||||
<xsl:value-of select='jid' />
|
||||
</a>
|
||||
<br />
|
||||
</xsl:if>
|
||||
<xsl:if test='$uri.count > 0'>
|
||||
URI:
|
||||
<a>
|
||||
<xsl:attribute name='href'>
|
||||
<xsl:value-of select='uri' />
|
||||
</xsl:attribute>
|
||||
<xsl:value-of select='uri' />
|
||||
</a>
|
||||
<br />
|
||||
</xsl:if>
|
||||
</p>
|
||||
</xsl:template>
|
||||
|
Loading…
Reference in New Issue
Block a user