Created
March 4, 2022 02:23
-
-
Save nakamura196/a74202c691e9957938e89a36d4da319a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" ?> | |
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | |
xmlns:xs="http://www.w3.org/2001/XMLSchema" exclude-result-prefixes="xs" version="1.0" xmlns:tei="http://www.tei-c.org/ns/1.0"> | |
<xsl:template match="/"> | |
<html> | |
<div id="tei"><xsl:apply-templates/></div> | |
</html> | |
</xsl:template> | |
<xsl:template match="tei:publicationStmt"/> | |
<xsl:template match="tei:sourceDesc"/> | |
<xsl:template match="tei:encodingDesc"/> | |
<xsl:template match="tei:profileDesc"/> | |
<xsl:template match="tei:revisionDesc"/> | |
<xsl:template match="tei:titleStmt"> | |
<h1 class="title"><xsl:value-of select="tei:title"/></h1> | |
<h2 class="author"><xsl:value-of select="tei:author"/></h2> | |
</xsl:template> | |
<xsl:template match="tei:sp"> | |
<h2 class="speaker"><xsl:value-of select="tei:speaker"/></h2> | |
<div class="line"><xsl:value-of select="tei:ab"/></div> | |
</xsl:template> | |
</xsl:stylesheet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment