cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <stef...@apache.org>
Subject Re: Entities
Date Mon, 03 Jan 2000 22:06:31 GMT
Armin Pfarr wrote:
> 
> 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.

Hmmm, Armin, could you please try the absolute path and tell me what
happens?

I still couldn't figure out a portable way to make this work. But I
really didn't  dive into that deeply, I admit.

any help will be very appreciated. Anyway.

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<stefano@apache.org>                             Friedrich Nietzsche
--------------------------------------------------------------------
 Come to the first official Apache Software Foundation Conference!  
------------------------- http://ApacheCon.Com ---------------------



Mime
View raw message