Kann mir jemand sagen, wo ich Beispiele für die Styles finde? Per Google werden immer nur die Templates ohne Style gesucht, ein Template habe ich, aber keine Ahnung, wie ich da ein Style rein schreiben soll.
Code:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="https://www.w3.org/1999/XSL/Transform" version="2.0">
<xsl:output method="html"/>
<xsl:template match="/">
<html>
<head>
<title>tolle wurst</title>
</head>
<body>
<p class="xsl-p-first">
<xsl:value-of select="/update"/>
</p>
<p class="xsl-p-first">
<xsl:value-of select="/name"/>
</p>
<p class="xsl-p-first">
<xsl:value-of select="/element"/>
</p>
<p class="xsl-p-first">
<xsl:value-of select="/infourl"/>
</p>
<p class="xsl-p-first">
<xsl:value-of select="/title"/>
</p>
<p class="xsl-p-first">
<xsl:value-of select="/description"/>
</p>
<p class="xsl-p-first">
<xsl:value-of select="/version"/>
</p>
<p class="xsl-p-first">
<xsl:value-of select="/folder"/>
</p>
<p class="xsl-p-first">
<xsl:value-of select="/type"/>
</p>
<p class="xsl-p-first">
<xsl:value-of select="/client"/>
</p>
<p class="xsl-p-first">
<xsl:value-of select="/downloads"/>
</p>
<p class="xsl-p-second">
<xsl:value-of select="/downloadurl"/>
</p>
<p class="xsl-p-first">
<xsl:value-of select="/tags"/>
</p>
<p class="xsl-p-second">
<xsl:value-of select="/tag"/>
</p>
<p class="xsl-p-first">
<xsl:value-of select="/targetPlatform"/>
</p>
<p class="xsl-p-first">
<xsl:value-of select="/sha256"/>
</p>
<p class="xsl-p-first">
<xsl:value-of select="/sha384"/>
</p>
<p class="xsl-p-first">
<xsl:value-of select="/sha512"/>
</p>
</body>
</html>
</xsl:template>
</xsl:stylesheet>