1
0
Fork 0

Readd html5 doctype to xslt stylesheet

This commit is contained in:
Starbeamrainbowlabs 2016-07-06 21:14:39 +01:00
parent 9526d95861
commit 9ebf090397
1 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" encoding="utf-8" indent="yes" />
<xsl:template match="/">
<xsl:text disable-output-escaping="yes">&lt;!DOCTYPE html&gt;</xsl:text>
<html>
<head>
<title><xsl:value-of select="/DirectoryListing/CurrentDirectory" /> - GalleryShare</title>
@ -9,7 +11,7 @@
<h1><xsl:value-of select="/DirectoryListing/CurrentDirectory" /> - GalleryShare</h1>
<p>This is a test</p>
<!-- ---------- -->
<style>
html, body { font-size: 100%; }