themes.xsl
XML 1.0 document, ASCII text
1<?xml version="1.0" encoding="utf-8"?> 2<xsl:stylesheet 3version="3.1" 4xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 5xmlns:t="https://steve0greatness.roundabout-host.com/ThemeIndex/themes.xsd" 6> 7 8<xsl:output method="html" version="5" encoding="UTF-8" indent="yes"/> 9 10<xsl:template match="/"> 11<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US"> 12<head> 13<title>Themes List</title> 14<link rel="stylesheet" href="required.css" /> 15<link rel="stylesheet" href="style.css" defer="defer" /> 16<link rel="stylesheet" href="breadcrumbs.css" defer="defer" /> 17<link rel="stylesheet" href="code.css" defer="defer" /> 18<link rel="stylesheet" href="fonts.css" defer="defer" /> 19<meta charset="UTF-8" /> 20<meta name="viewport" content="width=device-width, initial-scale=1.0" /> 21<meta http-equiv="X-UA-Compatible" content="ie=edge" /> 22<link rel="icon" href="favicon.ico" /> 23</head> 24<body> 25<nav aria-label="breadcrumbs"> 26<ol> 27<li><a href="index.html">index</a></li> 28<li><a href="submit.html" aria-current="location">Theme List</a></li> 29</ol> 30</nav> 31<h1>Theme List</h1> 32<ul id="ThemeList"> 33<xsl:for-each select="/t:themes/t:theme"> 34<li> 35<table> 36<tr> 37<th 38class="theme-name" colspan="2" 39> 40<xsl:value-of select="t:title"/> 41</th> 42</tr> 43<tr> 44<th> 45Author 46</th> 47<td> 48<a rel="external"> 49<xsl:attribute name="href"> 50<xsl:value-of select="t:author/@uri"/> 51</xsl:attribute> 52<xsl:value-of select="t:author"/> 53</a> 54</td> 55</tr> 56<tr> 57<td colspan="2"> 58<a rel="nofollow"> 59<xsl:attribute name="href"> 60themes/<xsl:value-of select="t:uri"/> 61</xsl:attribute> 62Theme CSS 63</a> 64</td> 65</tr> 66</table> 67</li> 68</xsl:for-each> 69</ul> 70</body> 71</html> 72</xsl:template> 73 74</xsl:stylesheet> 75