<record name="marcxmluri"/>
<variable name="serialization" value="rdxml"/>
<variable name="baseuri" value="http://id.loc.gov/resources/bibs/"/>
+ <variable name="usebnodes" value="true"/>
</filter>
<filter type="record_transform">
<retrievalinfo xmlns="http://indexdata.com/yaz" version="1.0">
<table>
<xsl:for-each select="bf:Work/bf:creator">
<xsl:variable
- name="resource" select="./@rdf:resource"/>
+ name="resource" select="./@rdf:nodeID"/>
<tr>
<td><b>Creator:</b></td>
<td>
- <xsl:value-of select="//*[@rdf:about=$resource]/bf:label"/>
+ <xsl:value-of select="//*[@rdf:nodeID=$resource]/bf:label"/>
</td>
</tr>
</xsl:for-each>
<xsl:for-each select="bf:Work/bf:workTitle">
<xsl:variable
- name="resource" select="./@rdf:resource"/>
+ name="resource" select="./@rdf:nodeID"/>
<tr>
<td><b>Work Title:</b></td>
<td>
- <xsl:value-of select="//*[@rdf:about=$resource]/bf:titleValue"/>
+ <xsl:value-of select="//*[@rdf:nodeID=$resource]/bf:titleValue"/>
</td>
</tr>
</xsl:for-each>
<tr><td><b><xsl:value-of select="name(.)"/>:</b></td></tr>
<xsl:for-each select="./*">
<xsl:variable name="resource" select="./@rdf:resource"/>
+ <xsl:variable name="nodeid" select="./@rdf:nodeID"/>
<tr>
<td/><td><b><xsl:value-of select="name(.)"/>:</b></td>
<td/><td>
</xsl:otherwise>
</xsl:choose>
</xsl:if>
+ <xsl:if test="$nodeid">
+ <xsl:variable name="rvalue"
+ select="//*[@rdf:nodeID=$nodeid]/*[1]"/>
+ <xsl:choose>
+ <xsl:when test="$rvalue">
+ <xsl:value-of select="$rvalue"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="$nodeid"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:if>
<xsl:value-of select="."/>
</td>
</tr>