Skip to content

Commit

Permalink
Updated metadata-dclp.xsl
Browse files Browse the repository at this point in the history
Modified XSLT to generate dynamic links to the MP3 catalog, using MP3 numbers in the proprietary `\d{5}\.\d{3}` format.
  • Loading branch information
samosafuz authored Jul 29, 2024
1 parent cd1ced7 commit 5406ca3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pn-xslt/metadata-dclp.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@
<th class="rowheader">Catalog(s)</th>
<td>
<xsl:for-each select="t:teiHeader/t:fileDesc/t:publicationStmt/t:idno[@type='MP3']">
<xsl:value-of select="concat('MP3 ',.)"/>
<xsl:text>MP3 </xsl:text>
<a href="{concat('http://www.cedopalmp3.uliege.be/cdp_MP3_display.aspx?numNot=', .)}">
<xsl:value-of select="."/>
</a>
<xsl:if test="position() != last()"><xsl:text>; </xsl:text></xsl:if>
</xsl:for-each>
</td>
Expand Down

0 comments on commit 5406ca3

Please sign in to comment.