<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:mets="http://www.loc.gov/METS/"
	xmlns:eg="http://www.tei-c.org/ns/Examples"
	xmlns:rdf="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/"
	xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
	xmlns:exist="http://exist.sourceforge.net/NS/exist" xmlns:mods="http://www.loc.gov/mods/v3"
	exclude-result-prefixes="tei mets xlink exist rdf" version="1.0">

	<!-- Einbindung der Standard-Templates und Variablen -->
	<xsl:import href="http://diglib.hab.de/rules/styles/param.xsl"/>
	<xsl:import href="http://diglib.hab.de/rules/styles/tei/teibp/content/xml-to-string.xsl"/>
<!--	<xsl:import href="http://dev2.hab.de/edoc/param.xsl"/>-->
	<!--<xsl:import href="http://diglib.hab.de/rules/styles/tei-phraselevel.xsl"/>-->



	<xsl:output encoding="UTF-8" indent="yes" method="html" doctype-public="-//W3C//DTD HTML 4.01//EN"
		doctype-system="http://www.w3.org/TR/html4/strict.dtd"/>

<!--	<xsl:strip-space elements="*"/>-->
	<xsl:param name="dir">edoc/ed000228</xsl:param>
	<xsl:param name="q"/>
	<xsl:param name="qtype"/>
	<xsl:param name="distype"/>
	<xsl:param name="pvID"/>
	<xsl:param name="footerXML"/>
	<xsl:param name="footerXSL"/>
	<xsl:param name="lokal"/>
	<xsl:param name="markup"/>
	<xsl:variable name="metsfile">
		<xsl:value-of select="concat('http://diglib.hab.de/',$dir,'/mets.xml')"/>
	</xsl:variable>

	<xsl:variable name="smallcase" select="'&#173;'"/>
	<xsl:variable name="uppercase" select="'-'"/>
	
	<xsl:key name="entity-ref" match="tei:rs[@ref][not(contains(@ref, ' '))]" use="substring(@ref,2)"/>
	<xsl:key name="term-ref" match="tei:term" use="substring(@ref, 2)"/>

	<xsl:template match="*" mode="toc">
		<xsl:apply-templates mode="toc"/>
	</xsl:template>

	<xsl:template match="tei:date/tei:note" mode="toc"/>

	<xsl:template match="/">
		
		
		
		<html>
			<head>
				<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
				<title>WDB</title>
				<link rel="stylesheet" type="text/css" href="https://diglib.hab.de/edoc/ed000228/layout/navigator_introduction.css"/>
<!--				<link rel="stylesheet" type="text/css" href="http://diglib.hab.de/rules/styles/tei/teibp/css/teibp.css"/>-->
				<!--<link rel="stylesheet" type="text/css" media="print" href="https://diglib.hab.de/edoc/ed000228/layout/print.css"/>-->
				<script type="text/javascript" src="https://diglib.hab.de/edoc/ed000228/javascript/jquery/jquery-1.11.0.js"/>
				<script type="text/javascript" src="https://diglib.hab.de/edoc/ed000228/javascript/jquery/functions.js"/>
				<script src="https://diglib.hab.de/navigator.js" type="text/javascript"/>
				<script src="https://diglib.hab.de/navigator.js" type="text/javascript"><noscript>please activate javascript to enable wdb functions</noscript></script>
				<style>
					/* xml-serialization */
					.eg-element {
					color: #0165c8;
					}
					.eg-comment {
					color: gray;
					}
					.eg-att,
					.eg-nsdecl {
					color: #f58650;
					}
					.eg-attvalue,
					.eg-ns {
					color: #993300;
					}
					.eg-text {
					color: #292929;
					}
				</style>
			</head>

			<body>
				<!--  Dokumentkopf -->
				<div id="doc_header">
					<div id="doc_header_text">Text</div>
					<hr id="doc_header_line"/>
				</div>

				<div id="wip"
					style="background-color: #EEE; padding: 0.5em; border: 1px solid black; font-size: 11pt; text-align: center; margin-bottom: 2em;">
					<p>
						<xsl:text>&#x27A8; Hinweis: Zur Zeit sind Änderungen und Korrekturen am Text und in den Apparaten möglich.</xsl:text>
					</p>
					<p>
						<xsl:text>Danach werden etwaige Korrekturen und Ergänzungen in einem Änderungsregister gelistet.</xsl:text>
					</p>
				</div>
				<!-- end WorkInProgress -->

				<!-- Titel -->
				<div id="caption">
					<div>
						<xsl:choose>
							<xsl:when test="/tei:TEI/tei:teiHeader/tei:fileDesc/tei:titleStmt/tei:title/tei:date">
								<xsl:value-of select="/tei:TEI/tei:teiHeader/tei:fileDesc/tei:titleStmt/tei:title/tei:date"/>
							</xsl:when>
							<xsl:otherwise>
								<xsl:value-of select="/tei:TEI/tei:teiHeader/tei:fileDesc/tei:titleStmt/tei:title"/>
							</xsl:otherwise>
						</xsl:choose>						
					</div>
					<div>
						<xsl:value-of
							select="/tei:TEI/tei:teiHeader/tei:fileDesc/tei:titleStmt/tei:author/tei:name/tei:forename"/>
						<xsl:text> </xsl:text>
						<xsl:value-of
							select="/tei:TEI/tei:teiHeader/tei:fileDesc/tei:titleStmt/tei:author/tei:name/tei:surname"/>
						<xsl:text> </xsl:text>
					</div>
				</div>
				
				<!--Zitierlink für jeweiligen Einleitungstext-->
				<p>
					<br/><span style="font-size:11pt;">
						<i>Zitierlink: </i> 
						<a href="http://diglib.hab.de/edoc/ed000228/id/{/tei:TEI/@xml:id}_sm/start.htm" target="_blank">
							<xsl:text>http://diglib.hab.de/edoc/ed000228/id/</xsl:text>
							<xsl:value-of select="/tei:TEI/@xml:id"/>
							<xsl:text>_sm/start.htm</xsl:text>
						</a>
					</span>
				</p>
				
				<!--Zitiervorschlag für jeweiligen Text-->
				<a href="javascript:switchlayer('citation');">
					<div style="margin: 1em 0 1em 0;">[Zitierhinweis]</div>
				</a>
				
				<div id="citation" style="display: none; border: 1px black solid; background-color: #EEE;">				
					<p style="font-size:11pt; margin: 0.3em 0.5em 0.3em 0.5em;">
						<xsl:for-each select="/tei:TEI/tei:teiHeader/tei:fileDesc/tei:titleStmt/tei:respStmt[tei:resp='geschrieben von']/tei:persName">
							<xsl:value-of select="normalize-space()"/>
							<xsl:if test="position()!=last()">
								<xsl:text>, </xsl:text>
							</xsl:if>
							<xsl:if test="position()=last()">
								<xsl:text>: </xsl:text>
							</xsl:if>							
						</xsl:for-each>						
						<xsl:choose>
							<xsl:when test="/tei:TEI/tei:teiHeader/tei:fileDesc/tei:titleStmt/tei:title/tei:date">
								<xsl:value-of select="/tei:TEI/tei:teiHeader/tei:fileDesc/tei:titleStmt/tei:title/tei:date"/>
							</xsl:when>
							<xsl:otherwise>
								<xsl:value-of select="/tei:TEI/tei:teiHeader/tei:fileDesc/tei:titleStmt/tei:title"/>
							</xsl:otherwise>
						</xsl:choose>	
						<xsl:text>, in: Digitale Edition und Kommentierung der Tagebücher des Fürsten Christian II. von Anhalt-Bernburg (1599-1656), unter Leitung von Peter Burschel und Ronald G. Asch hg. und bearb. von Arndt Schreiber, Alexander Zirr, Andreas Herz und Antoine Odier, unter Mitarbeit von Maximilian Görmar, Anna-Maria Blank, Anna Lisa Sonnenberg, Maximilian Blatt und Moritz Vogelbacher, technisch umgesetzt von Marcus Baumgarten und Maximilian Görmar, Wolfenbüttel 2013-2025, PURL: </xsl:text>
						<a href="http://diglib.hab.de/edoc/ed000228/id/{/tei:TEI/@xml:id}_sm/start.htm" target="_blank">
							<xsl:text>http://diglib.hab.de/edoc/ed000228/id/</xsl:text>
							<xsl:value-of select="/tei:TEI/@xml:id"/>
							<xsl:text>_sm/start.htm</xsl:text>
						</a>
						<xsl:text>, Zugriff: </xsl:text>
						<span id="date"></span>
						<xsl:text>.</xsl:text>
					</p>
				</div>

				
				<div class="content">
					<!-- Haupttext -->
					<xsl:apply-templates select="tei:TEI/tei:text"/>
				</div>
				
				<div id="resp">
					<p style="text-align:right;">
						<xsl:apply-templates select="//tei:respStmt[tei:resp='geschrieben von']"/>
					</p>
				</div>
								

				<!-- Kommentare  -->
				<xsl:if test="tei:TEI/tei:text/tei:body//tei:note[@type='footnote']">
					<hr/>
				</xsl:if>
				<div id="annotation">
					<xsl:if test="tei:TEI/tei:text/tei:body//tei:note[@type='footnote']">
						<div style="font-weight: bold;">Anmerkungen</div>
					</xsl:if>
					<div>
						
							<!--<xsl:when test="tei:TEI/tei:text/tei:body//tei:note[@type='commentar']">
								<!-\-  Wenn es eine Einleitung zum Kommentar gibt -\->
								<xsl:value-of select="tei:TEI/tei:text/tei:body//tei:note[@type='commentar']"/>

							</xsl:when>
							<xsl:when test="tei:TEI/tei:text/tei:body/tei:div/tei:note[@type='commentar']">
								<!-\-  Wenn es eine Einleitung zum Kommentar gibt -\->
								<xsl:value-of select="tei:TEI/tei:text/tei:body/tei:div/tei:note[@type='commentar']"/>
							</xsl:when>
							<xsl:otherwise> </xsl:otherwise>
						</xsl:choose>
						<xsl:choose>
							<xsl:when test="tei:TEI/tei:text/tei:body/tei:div[@type='footnotes']">
								<!-\-  Wenn es einen Fussnotenbereich gibt -\->
								<xsl:apply-templates select="tei:TEI/tei:text/tei:body/tei:div[@type='footnotes']"/>
							</xsl:when>-->
							
								<!--  andernfalls notes auswerten -->
								<xsl:for-each select="tei:TEI/tei:text/tei:body//tei:note[@type='footnote']">
									<div style="padding-left: 1em; text-indent: -1em;">
										<a style="display:inline-block; margin-left: 1em;">
											<xsl:attribute name="name">
												<xsl:text>fn</xsl:text>
												<xsl:number level="any" count="tei:note[@type ='footnote']"/>
											</xsl:attribute>
											<xsl:attribute name="href">
													<xsl:text>#fna</xsl:text>
													<xsl:number level="any" count="tei:note[@type ='footnote']"/>
												</xsl:attribute>											
												<span>
													<xsl:number level="any" count="tei:note[@type ='footnote']"/>
												</span>
										</a>
										<xsl:text> </xsl:text>
											<xsl:apply-templates/>										
									</div>
								</xsl:for-each>
							
						
					</div>
				</div>
				
				<!-- footer -->
				<div id="doc_footer">

					<xsl:choose>
						<xsl:when
							test="document($metsfile)//mets:rightsMD[@ID=document($metsfile)//mets:div[@TYPE='bibliography']/@ADMID]/mets:mdRef/@xlink:href">
							<b>
								<xsl:text>© </xsl:text>
								<xsl:for-each select="document($metsfile)//mods:mods/mods:name">
									<xsl:if test="position() > 1">
										<xsl:text>, </xsl:text>
									</xsl:if>
									<xsl:value-of select="mods:displayForm"/>
								</xsl:for-each>
							</b>
							<a>
								<xsl:attribute name="href">
									<xsl:value-of
										select="document($metsfile)//mets:rightsMD[@ID=document($metsfile)//mets:div[@TYPE='bibliography']/@ADMID]/mets:mdRef/@xlink:href"
									/>
								</xsl:attribute>
								<img src="http://diglib.hab.de/images/cc-by-sa.png" alt="image CC BY-SA licence" width="50px"
									align="right" hspace="10px"/>
							</a>
							<!-- Druckfunktion muss noch in print.css erledigt werden -->
							<!--<div>
								<a href="#" onclick="window.print(); return false">
									<img src="http://diglib.hab.de/edoc/ed000228/images/printer.png"/> Seite drucken</a>
							</div>-->
						</xsl:when>
						<xsl:otherwise>
							<xsl:value-of
								select="document($metsfile)//mets:rightsMD[@ID=document($metsfile)//mets:div[@TYPE='bibliography']/@ADMID]/mets:mdWrap/mets:xmlData"/>
							<!--<div>
								<a>
									<xsl:attribute name="href">
										<xsl:text>/edoc/ed000228/print/</xsl:text>
										<xsl:value-of select="/tei:TEI/@xml:id"/>
										<xsl:text>.pdf</xsl:text>
									</xsl:attribute>aktuellen Monat als PDF öffnen</a> <img height="25px"
										name="Crystal Clear app kjobviewer by Everaldo Coelho and YellowIcon - All Crystal icons were posted by the author as LGPL on kde-look. Licensed under GNU Lesser General Public License via Wikimedia Commons"
										src="http://diglib.hab.de/edoc/ed000228/images/printer.png"/><br/>
								<a href="/edoc/ed000228/print/1635_komplett.pdf">gesamtes Jahr als PDF öffnen</a> <img height="25px"
									name="Crystal Clear app kjobviewer by Everaldo Coelho and YellowIcon - All Crystal icons were posted by the author as LGPL on kde-look. Licensed under GNU Lesser General Public License via Wikimedia Commons"
									src="http://diglib.hab.de/edoc/ed000228/images/printer.png"/>
							</div>-->
						</xsl:otherwise>
					</xsl:choose>
				</div>
				<xsl:call-template name="footer">
					<xsl:with-param name="footerXML">
						<xsl:value-of select="$footerXML"/>
					</xsl:with-param>
					<xsl:with-param name="footerXSL">
						<xsl:value-of select="$footerXSL"/>
					</xsl:with-param>

				</xsl:call-template>	
				<!--JavaScript, um aktuelles Datum in Zitiervorschlag mit XSL 1.0 anzuzeigen-->
				<script>
					const d = new Date();
					var year = d.getFullYear();
					var month = d.getMonth() + 1;
					var day = d.getDate();
					document.getElementById("date").innerHTML = (day &lt; 10 ? '0' : '') + day+"." + (month &lt; 10 ? '0' : '') + month + "." + year;
				</script>
			</body>
		</html>
	</xsl:template>

	<xsl:template match="tei:body | tei:front">
		<xsl:apply-templates/>
	</xsl:template>

	<!--+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
        +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
        ++++++++++++++++++++++++++++++++++++++++ editionsspezifische Anweisungen ++++++++++++++++++++++++++++++++++++++++++++
        +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
        +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-->
	

	<!-- preserve-space schützt alle Whitespaces -->

	<xsl:preserve-space elements="*"/>

	

	<!--header-->
	<!-- editor, contributer etc. -->
	<xsl:template match="tei:respStmt">		
		<xsl:for-each select="tei:persName">
			<xsl:if test="position() != 1">
				<xsl:text> / </xsl:text>
			</xsl:if>
			<xsl:value-of select="concat(substring(tei:forename,1,1),substring(tei:surname,1,1))"/>
		</xsl:for-each>		
	</xsl:template>

	<!-- Front -->

	<xsl:template match="tei:titlePage">
		<p class="content">
			<xsl:apply-templates/>
		</p>
	</xsl:template>

	<xsl:template match="tei:docTitle">
		<xsl:apply-templates/>
	</xsl:template>

	<xsl:template match="tei:byline">
		<p class="content">
			<xsl:apply-templates/>
		</p>
	</xsl:template>

	<xsl:template match="tei:imprimatur">
		<p class="content">
			<xsl:apply-templates/>
		</p>
	</xsl:template>

	<xsl:template match="tei:docDate">
		<p class="content">
			<xsl:apply-templates/>
		</p>
	</xsl:template>

	<xsl:template match="tei:docAuthor">
		<xsl:apply-templates/>
	</xsl:template>

	<xsl:template match="tei:epigraph">
		<p class="content">
			<xsl:apply-templates/>
		</p>
	</xsl:template>

	<xsl:template match="tei:titlePart">
		<p class="content">
			<xsl:apply-templates/>
		</p>
	</xsl:template>

		
	<!--    Ueberschriften-->

	<xsl:template match="tei:head">
		<xsl:element name="h{count(ancestor::tei:div)}">
			<xsl:apply-templates/>
		</xsl:element>
	</xsl:template>
	
	<!-- Haupttext -->

	<xsl:template match="tei:hi">
		<xsl:choose>
			<xsl:when test="@rend='bold'">				
				<a>
					<xsl:attribute name="name">
						<xsl:value-of select="substring-before(.,'.')"/>
					</xsl:attribute>		
				</a>
				<b><xsl:apply-templates/></b>
			</xsl:when>
			<xsl:when test="@rend ='italics' or @rend ='italic'">
				<span style="font-style:italic;">
					<xsl:apply-templates/>
				</span>
			</xsl:when>
			<xsl:when test="@rend ='underline'">
				<span style="text-decoration:underline;">
					<xsl:apply-templates/>
				</span>
			</xsl:when>
			<xsl:when test="@rend ='super'">
				<sup>
					<xsl:apply-templates/>
				</sup>
			</xsl:when>
			<xsl:otherwise>
				<xsl:apply-templates/>
			</xsl:otherwise>
		</xsl:choose>
	</xsl:template>
	
<xsl:template match="tei:p">
	<p>
		<xsl:attribute name="style">
			<xsl:text>margin-top: 1em;</xsl:text>
		</xsl:attribute>		
		<xsl:apply-templates/>
	</p>
</xsl:template>
	
	<xsl:template match="eg:egXML">
		<pre>
			<xsl:if test="./text()">
				<xsl:value-of select="normalize-space(./text())"/>
			</xsl:if>
            <xsl:element name="{local-name()}">
                <xsl:apply-templates select="@*"/>
                <!--<xsl:call-template name="addID"/>-->
                <xsl:call-template name="xml-to-string">
                    <xsl:with-param name="node-set">
                        <xsl:copy-of select="node()"/>
                    </xsl:with-param>
                </xsl:call-template>
            </xsl:element>
        </pre>
	</xsl:template>
		
	<xsl:template match="eg:egXML/text()">
		<pre>
            <xsl:value-of select="."/>
        </pre>
	</xsl:template>
	
	<xsl:template match="tei:c[@rend='super']">
	<sup><xsl:apply-templates/></sup>
	</xsl:template>

	<!--    Links -->
	<xsl:template match="tei:ref">
		<xsl:param name="caption"/>
		<xsl:choose>
			<xsl:when test="@type='footnote' and $caption != 'true'">
				<a>
					<xsl:attribute name="name">
						<xsl:text>fna</xsl:text>
						<xsl:value-of select="."/>
					</xsl:attribute>
					<xsl:attribute name="href">
						<xsl:value-of select="@target"/>
					</xsl:attribute>
					<span style="font-size:9pt;vertical-align:super;color:blue;">
						<xsl:value-of select="."/>
					</span>
				</a>
			</xsl:when>

			
			<xsl:otherwise>
				<a>
					<xsl:attribute name="href">
						<xsl:value-of select="@target"/>
					</xsl:attribute>
					<xsl:attribute name="target">_blank</xsl:attribute>
					<xsl:apply-templates/>
				</a>
			</xsl:otherwise>
		</xsl:choose>
	</xsl:template>
	
	<xsl:template match="tei:ref">
		<a>
			<xsl:attribute name="href">
				<xsl:value-of select="@target"/>
			</xsl:attribute>
			<xsl:apply-templates/>
		</a>
	</xsl:template>

		<!-- Fußnoten -->
		
	<xsl:template match="tei:note">
		<xsl:param name="caption"/>
		<!--  zwei Typen: entweder Fussnoten am Text- oder Seitenende in einem besonderen Abschnitt oder in den Text integriert -->
		<xsl:choose>
			<xsl:when test="parent::tei:div[@type='footnote' ]">
				<!--   Fussnoten am Text- oder Seitenende -->
				<div class="footnotes">
					<a>
						<xsl:attribute name="name">
							<xsl:text>fn</xsl:text>
							<xsl:value-of select="@n"/>
						</xsl:attribute>
						<a>
							<xsl:attribute name="href">
								<xsl:text>#fna</xsl:text>
								<xsl:value-of select="@n"/>
							</xsl:attribute>
							<span style="font-size:9pt;vertical-align:super;color:blue;margin-right:0.3em;">
								<xsl:value-of select="@n"/>
							</span>
						</a>
					</a>
					<xsl:apply-templates/>
				</div>
			</xsl:when>
			
			
			<xsl:when test="@type='footnote'">
				<!--  in Text integriert, nur Verweis , Fussnotenabschnitt mit foreach generiert -->
				<a>
					<xsl:attribute name="name">
						<xsl:text>fna</xsl:text>
						<xsl:number level="any" count="tei:note[@type ='footnote']"/>
					</xsl:attribute>

					<a>
						<xsl:attribute name="href">
							<xsl:text>#fn</xsl:text>

							<xsl:number level="any" count="tei:note[@type ='footnote']"/>

						</xsl:attribute>
						<xsl:attribute name="title">
							<xsl:copy-of select="normalize-space(.)"/>
						</xsl:attribute>
						<span style="font-size:9pt;vertical-align:super;color:red;">

							<xsl:value-of select="$caption"/>
							<xsl:number level="any" count="tei:note[@type ='footnote']"/>
						</span>

					</a>
				</a>
			</xsl:when>			
			<xsl:otherwise/>
		</xsl:choose>
	</xsl:template>
	
	<xsl:template match="tei:table">
		<table>
			<xsl:if test="@n">
				<xsl:attribute name="id">
					<xsl:value-of select="@n"/>
				</xsl:attribute>
			</xsl:if>
			<tbody>
				<xsl:apply-templates/>
			</tbody>
		</table>
	</xsl:template>
	
	<xsl:template match="tei:row">
		<tr>
			<xsl:apply-templates/>
		</tr>
	</xsl:template>
	
	<xsl:template match="tei:cell[@role='data']">
		<td style="border-bottom:1px solid #000; width:40em;">
			<xsl:apply-templates/>
		</td>
	</xsl:template>
	
	<xsl:template match="tei:cell[@role='label']">
		<th style="border-bottom:1px solid #000; padding-right: 5px; width:10em; text-align: left; font-weight: normal;">
			<xsl:apply-templates/>
		</th>
	</xsl:template>
	
	<xsl:template match="tei:lb">
		<br/>
		<xsl:apply-templates/>
	</xsl:template>
	
	<xsl:template match="tei:list">
		<ul>
			<xsl:apply-templates/>
		</ul>
	</xsl:template>
	
	<xsl:template match="tei:item">
		<li><xsl:apply-templates/></li>
	</xsl:template>
	
	<xsl:template match="tei:list[@xml:id='abbr_dok']">
		<table>
			<thead>
				<tr>
					<th style="border-bottom:1px solid #000; width:40em;">Wort/Begriff</th>
					<th style="border-bottom:1px solid #000; width:40em;">abgekürzte Schreibung(en)</th>
				</tr>
			</thead>
			<tbody>
				<xsl:for-each select="tei:item">
				<tr>
					<td style="border-bottom:1px solid #000; width:40em;">
						<xsl:apply-templates select="tei:label"/>
					</td>
					<td style="border-bottom:1px solid #000; width:40em;">
						<xsl:for-each select="tei:list/tei:item">
							<xsl:apply-templates/>
							<xsl:if test="position()!=last()">
								<br/>
							</xsl:if>
						</xsl:for-each>
					</td>
				</tr>
			</xsl:for-each>
			</tbody>
			
			
		</table>
	</xsl:template>
</xsl:stylesheet>
