<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="2.0"
				xmlns:html="http://www.w3.org/TR/REC-html40"
				xmlns:sitemap="http://www.sitemaps.org/schemas/sitemap/0.9"
				xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
	<xsl:output method="html" version="1.0" encoding="UTF-8" indent="yes"/>
	<xsl:template match="/">
		<html xmlns="http://www.w3.org/1999/xhtml">
			<head>
				<title>XML Sitemap &#124; Australia Alopecia Areata Foundation</title>
				<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
				<style type="text/css">
					body {
						font-size: 14px;
						font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
						margin: 0;
					}
					a {
						color: #05809e;
						text-decoration: none;
					}
					h1 {
						font-size: 24px;
						font-family: Verdana,Geneva,sans-serif;
						font-weight: normal;
						margin: 0;
						color: #5200a5;
					}
					h1 img {
						vertical-align: bottom;
						margin-right: 14px;
						image-rendering: -webkit-optimize-contrast;
					}
					#description {
						background-color: #333;
						border-bottom: 7px solid #5200a5;
						color: #ffffff;
						padding: 30px 30px 20px;
					}
					#description a {
						color: #ffffff;
					}
					#content {
						padding: 10px 30px 30px;
						background: #fff;
					}
					a:hover {
						border-bottom: 1px solid;
					}
					table {
						min-width: 600px;
						border-spacing: 0;
					}
					th, td {
						font-size: 12px;
						border: 0px solid;
						padding: 10px 15px;
					}
					th {
						text-align: left;
						border-bottom: 1px solid #5200a5;
					}
					.odd {
						background-color: #eaeaea;
					}
					#footer {
						margin: 20px 30px;
						font-size: 12px;
						color: #999;
					}
					#footer a {
						color: inherit;
					}
					#description a, #footer a {
						border-bottom: 1px solid;
					}
					#description a:hover, #footer a:hover {
						border-bottom: none;
					}
				</style>
			</head>
			<body>
				<div id="description">
					<a href="https://aaaf.org.au"><h1>Australia Alopecia Areata Foundation &#8212; XML Sitemap</h1></a>
					<p>This is a generated XML Sitemap, meant to be consumed by search engines like <a href="https://www.google.com/" target="_blank" rel="nofollow noreferrer noopener">Google</a> or <a href="https://www.bing.com/" target="_blank" rel="nofollow noreferrer noopener">Bing</a>.</p>
					<p>You can find more information on XML sitemaps at <a href="https://www.sitemaps.org/" target="_blank" rel="nofollow noreferrer noopener">sitemaps.org</a>.</p>
				</div>
				<div id="content">
					<table>
						<tr>
							<th>URL</th>
							<th>Last Updated</th>
							<th>Priority</th>
						</tr>
						<xsl:variable name="lower" select="'abcdefghijklmnopqrstuvwxyz'"/>
						<xsl:variable name="upper" select="'ABCDEFGHIJKLMNOPQRSTUVWXYZ'"/>
						<xsl:for-each select="sitemap:urlset/sitemap:url">
							<tr>
								<xsl:choose>
									<xsl:when test="position() mod 2 != 1">
										<xsl:attribute name="class">odd</xsl:attribute>
									</xsl:when>
								</xsl:choose>
								<td>
									<xsl:variable name="itemURL">
										<xsl:value-of select="sitemap:loc"/>
									</xsl:variable>
									<a href="{$itemURL}">
										<xsl:value-of select="sitemap:loc"/>
									</a>
								</td>
								<td>
									<xsl:value-of select="concat(substring(sitemap:lastmod,0,11),concat(' ', substring(sitemap:lastmod,12,5)))"/>
								</td>
								<td>
									<xsl:value-of select="substring(sitemap:priority,0,4)"/>
								</td>
							</tr>
						</xsl:for-each>
					</table>
				</div>
				<div id="footer">
					<p>Generated by <a href="https://wordpress.org/plugins/autodescription/" target="_blank" rel="nofollow noreferrer noopener">The SEO Framework</a></p>
				</div>
			</body>
		</html>
	</xsl:template>
</xsl:stylesheet>