minor fixups for unapi v1
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 2 Jul 2006 13:09:07 +0000 (13:09 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 2 Jul 2006 13:09:07 +0000 (13:09 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@4878 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xsl/ATOM2XHTML.xsl
Open-ILS/xsl/MARC21slim2HTMLCard-holdings.xsl

index d6ae2aa..86ec20c 100644 (file)
@@ -130,7 +130,7 @@ To-do list:
                                <!-- rel links -->
 
                                <xsl:for-each select="atom:link[@rel='unapi' and string-length(@href)&gt;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>
index 4764604..99fe0e4 100755 (executable)
   <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=')">