Re: [xsl] amp symbols

Subject: Re: [xsl] amp symbols
From: Chad Chelius <cchelius@xxxxxxxxxxxxxxx>
Date: Mon, 3 Jul 2006 13:25:13 -0400
The vendor recommends a UTF-8 encoded file. So when I create an XML file (before any XSLT is applied) I get just square boxes where those math symbols and other items usually appear. I think this is why they require the use of an entity. Does that make more sense or am I still missing the point?

<chad/>

Chad Chelius
AGI Training
cchelius@xxxxxxxxxxxxxxx


On Jul 3, 2006, at 10:39 AM, David Carlisle wrote:


Nothing there suggests the need for entities in the XSLT output.
If you have an entity reference & f o o b a r ; in the file and that
entity is defined by a DTD to be __something__ then when your vendor
processes the XMl file, the XML parser will (or should) report the same
thing whether the file has & f o o b a r ; or __something__ in it.
An entity reference is indistinguishable from the direct use of the
entity which it references.


If the vendor tools require an ASCII encoded file taht's a different
matter and can be addressed by
<xsl:output encoding="US-ASCII"/>

David

Current Thread