Initial population

This commit is contained in:
Jon
2026-03-07 19:38:21 -06:00
commit 46735bddd3
59 changed files with 12911 additions and 0 deletions

51
OrganLitIndexByBook.xsl Normal file
View File

@@ -0,0 +1,51 @@
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
<xsl:output method="html" version="4.01" encoding="UTF-8" indent="yes"/>
<xsl:template match="/">
<html>
<head>
<title>OrganLit - Index By Book</title>
</head>
<body>
<h1>Index By Book</h1>
<xsl:for-each select="//OrganLit/Books/Book">
<xsl:sort select="Composer/ComposerName"/>
<xsl:sort select="current()[Composer/ComposerName='']/Publisher/PublisherName"/>
<xsl:sort select="BookTitle"/>
<xsl:call-template name="FormatBook"/>
</xsl:for-each>
<br/>
<br/>
<a href="index.htm">OrganLit Home</a>
</body>
</html>
</xsl:template>
<xsl:template name="FormatBook">
<br>
<a href="worksbybook.htm#{BookID}">
<xsl:call-template name="FormatBookTitleAndLocation"/>
</a>
</br>
</xsl:template>
<xsl:template name="FormatBookTitleAndLocation">
<i><xsl:value-of select="BookTitle"/></i><xsl:text> </xsl:text>
<xsl:choose>
<xsl:when test="ComposerID=''">
<xsl:choose>
<xsl:when test="PublisherID=''">
<xsl:text>(Collection)</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text>(Collection - </xsl:text><xsl:value-of select="Publisher/PublisherName"/><xsl:text>)</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="current()/Composer/ComposerName"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:stylesheet>