Omit :bf in node name display
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 9 Sep 2014 08:20:05 +0000 (10:20 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 9 Sep 2014 08:20:05 +0000 (10:20 +0200)
bibframe/xsl/fullDisplay.xsl

index 37fc82b..3f4bf07 100644 (file)
@@ -16,7 +16,7 @@
   <xsl:template match="rdf:RDF">
     <table>
       <xsl:for-each select="bf:*">
-       <tr><td><b><xsl:value-of select="name(.)"/>:</b>
+       <tr><td><b><xsl:value-of select="substring-after(name(.),':')"/>:</b>
        <xsl:variable name="n" select="@rdf:nodeID"/>
        <xsl:if test="$n">
          (<xsl:value-of select="$n"/>)
@@ -30,7 +30,7 @@
            <tr>
              <td/>
              <td>
-               <b><xsl:value-of select="name(.)"/>:</b>
+               <b><xsl:value-of select="substring-after(name(.),':')"/>:</b>
              </td>
              <td/><td>
              <xsl:choose>