Hi Dave,
exclude-result-prefixes=''
(attribute on xsl:stylesheet element).
Thank you, now it works.
Secondary i saw, that the encoding is different, although i use the
encoding attribute in xsl:output.
<xsl:output method="xml" indent="yes" encoding="iso-8859-1"
doctype-public="-//Torsten Bronger//DTD tbook 1.5.3//EN"
doctype-system="/usr/share/xml/tbook/tbook.dtd"/>
If Daniels xslt engine supports that encoding, then
there is something wrong. Are you saying that the output
is not in 8859-1?
If i use an external tranformer, the encoding is iso-8859-1.
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE book PUBLIC "-//Torsten Bronger//DTD tbook 1.5.3//EN"
"/usr/share/xml/tbook/tbook.dtd">
<book xml:lang="de">
<frontmatter>
<title>Mein Titel</title> <author/>
</frontmatter>
<mainmatter>
<chapter>
<heading>Hier steht eine Überschrift.</heading>
<p>Hier steht jetzt ein Standardtext.</p>
</chapter>
</mainmatter>
</book>
If i use OOo export, i get UTF-8 encoding (the encoding attribute of
xsl:output are ignored)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//Torsten Bronger//DTD tbook 1.5.3//EN"
"/usr/share/xml/tbook/tbook.dtd">
<book xml:lang="de">
<frontmatter>
<title>Mein Titel</title> <author/>
</frontmatter>
<mainmatter>
<chapter>
<heading>Hier steht eine Ã<9C>berschrift.</heading>
<p>Hier steht jetzt ein Standardtext.</p>
<p>Hier steht jetzt ein Standardtext.</p>
</chapter>
</mainmatter>
</book>
The encoding of 'Überschrift' is correct.
By
Michael
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]