summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Pokorný <jpokorny@redhat.com>2013-03-19 18:42:18 +0100
committerJan Pokorný <jpokorny@redhat.com>2013-03-19 18:42:18 +0100
commit01a12fb83ff761ff3e559c7e4a68d855aa2ec8e6 (patch)
tree3e914922e56d3befdf1c9b5dde2cd802d7368e03
parent83540448b7c8f99408194a0c6a9e7f4861e73760 (diff)
downloadontogen-01a12fb83ff761ff3e559c7e4a68d855aa2ec8e6.tar.gz
ontogen-01a12fb83ff761ff3e559c7e4a68d855aa2ec8e6.tar.xz
ontogen-01a12fb83ff761ff3e559c7e4a68d855aa2ec8e6.zip
Make the stylesheet generate explicit XHTML + UTF-8
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
-rw-r--r--ns-schema.xsl5
1 files changed, 4 insertions, 1 deletions
diff --git a/ns-schema.xsl b/ns-schema.xsl
index ecdc5b6..b540aa5 100644
--- a/ns-schema.xsl
+++ b/ns-schema.xsl
@@ -30,7 +30,10 @@
exclude-result-prefixes="rdf rdfs dc owl dcterms ex doas ont vs"
>
- <xsl:output indent="yes"/>
+ <xsl:output indent="yes"
+ encoding="UTF-8"
+ doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
+ doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>
<xsl:param name="xmlfile"/><!--** target xml file name if the parameter is provided by sysytem -->
<!-- avoid Opera error
<xsl:variable name="_doas" select="document('')//rdf:Description[1]"/>