xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Armin Pfarr" <apf...@netsurf.de>
Subject Newbie question: Character Entities
Date Tue, 16 Nov 1999 21:15:50 GMT

I'm trying to use Cocoon 1.5 as a publishing engine for XML-Documents. Since
I'm living in Germany, I often have to deal with what we call "Umlaute" like
äÄöÖüÜ. I have a DTD that references the ISOLatin1-Entity-Set. Therefore, my
documents look pretty much like HTML, for example

	<to>Herbert H&ouml;nig</to>
	<from>&Uuml;berhaupt nicht interessant</to>

When using Cocoon, all my "Umlaute" get lost during the
transformation-process to HTML. A typical XSL-Styesheet looks like

<?xml version="1.0"?>

	<xsl:template match="/">

	<xsl:template match="head">

	<xsl:template match="body">
			<div class="toc">
			<xsl:apply-templates select="sect1//title" mode="toc"/>

	<xsl:template match="head//title">

	<xsl:template match="sect1">

Any idea how to solve the problem?

Armin Pfarr

View raw message