This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: troubles after changed encoding in XSL 1.58
- From: Norman Walsh <ndw at nwalsh dot com>
- To: Jeff Beal <jeff dot beal at ansys dot com>
- Cc: "'abx at abx dot art dot pl'" <abx at abx dot art dot pl>, docbook-apps at lists dot oasis-open dot org
- Date: Wed, 01 Jan 2003 14:57:44 -0500
- Subject: DOCBOOK-APPS: Re: troubles after changed encoding in XSL 1.58
- References: <E08C8F26F6901D42B1201763D125853815B374@ntdevexc.win.ansys.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
/ Jeff Beal <jeff.beal@ansys.com> was heard to say:
| Set the XSL parameter 'default-encoding' to ISO-8859-1.
Unfortunately, that only works if you're chunking. There's no way to
set the default encoding with a parameter when you're using the
straight stylesheets.
You should be able to fix this, however, with your own customization
layer:
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:import href="/path/to/xhtml/docbook.xsl"/>
<xsl:output method="xml"
encoding="--you're-favorite-encoding--"
indent="no"
doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"
doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>
</xsl:stylesheet>
Be seeing you,
norm
- --
Norman Walsh <ndw@nwalsh.com> | There are no new truths, but only
http://www.oasis-open.org/docbook/ | truths that have not been
Chair, DocBook Technical Committee | recognized by those who have
| perceived them without
| noticing.--Mary McCarthy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.7 <http://mailcrypt.sourceforge.net/>
iD8DBQE+E0g4OyltUcwYWjsRAuJRAJ44eDrvnlhpPevz/wmym7/DqsmPQgCfdo5I
VjTu45islSvLZTnYPaxbKow=
=0AGY
-----END PGP SIGNATURE-----