xsl-list
[Top] [All Lists]

Re: [xsl] amp symbols

2006-07-03 10:22:22
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(_at_)agitraining(_dot_)com


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


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>