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