<!-- rel links -->
<xsl:for-each select="atom:link[@rel='unapi' and string-length(@href)>0]">
- <link rel="meta" title="unAPI" type="application/xml">
+ <link rel="unapi-server" title="unAPI" type="application/xml">
<xsl:attribute name='href'>
<xsl:value-of select="@href"/>
</xsl:attribute>
<xsl:template match="xhtml:link">
<xsl:choose>
<xsl:when test="@title='unapi'">
- <link>
- <xsl:attribute name="title">
- <xsl:value-of select="@title"/>
- </xsl:attribute>
- <xsl:attribute name="rel">
- <xsl:value-of select="@rel"/>
- </xsl:attribute>
+ <link rel="unapi-server" title="unAPI" type="application/xml">
<xsl:attribute name="href">
<xsl:value-of select="@href"/>
</xsl:attribute>
- <xsl:value-of select="."/>
</link>
</xsl:when>
<xsl:when test="@rel='otherFormat' and contains(@href,'format=')">