mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-25 10:42:19 -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 url (#PCDATA)* >
|
||||||
<!ELEMENT registry EMPTY>
|
<!ELEMENT registry EMPTY>
|
||||||
<!ELEMENT expires (#PCDATA)* >
|
<!ELEMENT expires (#PCDATA)* >
|
||||||
<!ELEMENT author ( firstname, surname, authornote?, org?, email?, jid? ) >
|
<!ELEMENT author ( firstname, surname, authornote?, org?, email?, jid?, uri? ) >
|
||||||
<!ELEMENT firstname (#PCDATA)* >
|
<!ELEMENT firstname (#PCDATA)* >
|
||||||
<!ELEMENT surname (#PCDATA)* >
|
<!ELEMENT surname (#PCDATA)* >
|
||||||
<!ELEMENT authornote EMPTY>
|
<!ELEMENT authornote EMPTY>
|
||||||
<!ELEMENT org (#PCDATA)* >
|
<!ELEMENT org (#PCDATA)* >
|
||||||
<!ELEMENT email (#PCDATA)* >
|
<!ELEMENT email (#PCDATA)* >
|
||||||
<!ELEMENT jid (#PCDATA)* >
|
<!ELEMENT jid (#PCDATA)* >
|
||||||
|
<!ELEMENT uri (#PCDATA)* >
|
||||||
<!ELEMENT revision ( version, date, initials, remark ) >
|
<!ELEMENT revision ( version, date, initials, remark ) >
|
||||||
<!ELEMENT version (#PCDATA)* >
|
<!ELEMENT version (#PCDATA)* >
|
||||||
<!ELEMENT date (#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>
|
<author>
|
||||||
<firstname>Peter</firstname>
|
<firstname>Peter</firstname>
|
||||||
<surname>Saint-Andre</surname>
|
<surname>Saint-Andre</surname>
|
||||||
<email>stpeter@jabber.org</email>
|
|
||||||
<jid>stpeter@jabber.org</jid>
|
<jid>stpeter@jabber.org</jid>
|
||||||
|
<uri>https://stpeter.im/</uri>
|
||||||
</author>
|
</author>
|
||||||
" >
|
" >
|
||||||
<!ENTITY dizzyd "
|
<!ENTITY dizzyd "
|
||||||
|
3
xep.xsd
3
xep.xsd
@ -123,8 +123,9 @@
|
|||||||
<xs:element name='surname' type='xs:string'/>
|
<xs:element name='surname' type='xs:string'/>
|
||||||
<xs:element name='authornote' type='empty' minOccurs='0'/>
|
<xs:element name='authornote' type='empty' minOccurs='0'/>
|
||||||
<xs:element name='org' type='xs:string' 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='jid' type='xs:string' minOccurs='0'/>
|
||||||
|
<xs:element name='uri' type='xs:string' minOccurs='0'/>
|
||||||
</xs:sequence>
|
</xs:sequence>
|
||||||
</xs:complexType>
|
</xs:complexType>
|
||||||
</xs:element>
|
</xs:element>
|
||||||
|
12
xep.xsl
12
xep.xsl
@ -306,6 +306,7 @@
|
|||||||
<xsl:variable name='org.count' select='count(org)'/>
|
<xsl:variable name='org.count' select='count(org)'/>
|
||||||
<xsl:variable name='email.count' select='count(email)'/>
|
<xsl:variable name='email.count' select='count(email)'/>
|
||||||
<xsl:variable name='jid.count' select='count(jid)'/>
|
<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:variable name='authornote.count' select='count(authornote)'/>
|
||||||
<xsl:if test='$authornote.count > 0'>
|
<xsl:if test='$authornote.count > 0'>
|
||||||
See <a href='#authornote'>Author Note</a><br />
|
See <a href='#authornote'>Author Note</a><br />
|
||||||
@ -333,6 +334,17 @@
|
|||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
<xsl:value-of select='jid' />
|
<xsl:value-of select='jid' />
|
||||||
</a>
|
</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>
|
</xsl:if>
|
||||||
</p>
|
</p>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
Loading…
Reference in New Issue
Block a user