[xsl] Maintaining character entities

Subject: [xsl] Maintaining character entities
From: "Cole, Chris" <chris.cole@xxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 20 May 2003 08:26:05 -0000
I'm new to the list - I've checked through lots of archive material and Dave
Pawson's stuff which was helpful, but I can't actually solve my problem,

I've got XML documents, marked up to a DTD, and calling character entity
sets. When I run through the XSLT processor (xalan) to output another XML
file I find the entities have been converted to something different, and
fairly inconsistently. 

What I would like to achieve is having &ldquo; &uuml; in my input xml, and
these entities still being untouched in my output. Can anyone advise how I
achieve this please?

What I'm getting are (&amp;ldquo;, &amp;uuml;), or (“ and ü), or (&#8220;
and ü), depending on character encoding settings and entity sets used. Am I
missing something?

Thanks in advance


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread