All checks were successful
continuous-integration/drone/push Build is passing
28 lines
914 B
XML
28 lines
914 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
|
|
|
<xsl:template match="/">
|
|
<xsl:apply-templates select="buildinfo/document"/>
|
|
</xsl:template>
|
|
|
|
<!-- The actual HTML tree is in "buildinfo/document" -->
|
|
<xsl:template match="buildinfo/document">
|
|
<xsl:element name="html">
|
|
<xsl:attribute name="lang">
|
|
<xsl:value-of select="/buildinfo/@language"/>
|
|
</xsl:attribute>
|
|
<xsl:attribute name="class">
|
|
<xsl:value-of select="/buildinfo/@language" /> no-js
|
|
</xsl:attribute>
|
|
<xsl:if test="/buildinfo/@language = 'ar' or /buildinfo/@language = 'fa' or /buildinfo/@language = 'he'">
|
|
<xsl:attribute name="dir">rtl</xsl:attribute>
|
|
</xsl:if>
|
|
|
|
<xsl:call-template name="page-head" />
|
|
<xsl:call-template name="page-body" />
|
|
</xsl:element>
|
|
</xsl:template>
|
|
|
|
</xsl:stylesheet>
|