cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Armin Pfarr" <apf...@vipsurf.de>
Subject Entities
Date Mon, 03 Jan 2000 16:40:14 GMT
Hi

I'm trying out Cocoon 1.6-dev with Xalan and Xerces and can't find any
setting, that enables me to generate Entity-references in my output. Even
when using a stylesheet

(File: test.xsl)
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

	<xsl:template match="*|@*">
		<xsl:copy>
			<xsl:apply-templates/>
		</xsl:copy>
	</xsl:template>

</xsl:stylesheet>

all my entities vanish. When using Xalan from the commandline, everything
works just fine. Any idea?

my sample looks like (File: text.xml)

<?xml version="1.0" ?>
<?xml-stylesheet href="test.xsl" type="text/xsl"?>
<?cocoon-process type="xslt" ?>
<!DOCTYPE test SYSTEM "test.dtd">
<test>
	&auml;
</test>

the DTD is quite simple (File: test.dtd)

<!ENTITY auml   "&#228;">
<!ELEMENT test
	(#PCDATA)* >

Everything is in the same directory.

Armin Pfarr


Mime
View raw message