xsl-list
[Top] [All Lists]

RE: Preseving character entities

2004-11-25 08:08:57

On Thu, 25 Nov 2004 14:45:21 -0000, "Michael Kay" <mike(_at_)saxonica(_dot_)com>
said:
But if he asks for UTF-8, then he will get non-ASCII characters encoded
in
UTF-8, not represented as character references.

Time to ask the original poster: why? What are you trying to achieve?

The point is that I'm converting a website source document (which is
being processed using Cocoon) from one design (monolithic) to another
design (a collection of small documents in a filesystem hierachy which
may be processed by a native XML database). Its a transformation that
only happens once and the resultant documents need to be XML and they
need to have the character references of the original document so that
they can continue to be parsed correctly by the stylesheets of the
Cocoon application.

On Thu, 25 Nov 2004 14:42:35 -0000, "Michael Kay" <mike(_at_)saxonica(_dot_)com>
said:

s/encoding="us-ascii"/encoding="UTF-8"/

And, of course, because its only a one-off transformation, I can easily
do this.

Thanks,
Richard
-- 
  Richard Lewis
  richardlewis(_at_)fastmail(_dot_)co(_dot_)uk


--~------------------------------------------------------------------
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>
--~--