[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] website 2.6
On 09/14/2012 11:16 AM, Jirka Kosek wrote:
On 14.9.2012 11:15, DaveP wrote:I am stuck, wondering where the charset definition is coming from?It is automatically generated if the output method is HTML. This is standard feature of XSLT.
?
Input
<?xml version="1.0" encoding="utf-8"?>
<doc/>
ss
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:output method="html"/>
<xsl:template match="/">
<html>
<body bgcolor="#FFFFFF">
</body>
</html>
</xsl:template>
</xsl:stylesheet>
output
$ sax crap.xml crap.xsl crap.html
[dpawson@homer xsl]$ cat crap.html
<html>
<body bgcolor="#FFFFFF"></body>
Using saxon 6.5
specifying @encoding in the xsl:output still has no effect?
regards
--
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]