[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Preseving character entities

Subject: RE: Preseving character entities
From: "Richard Lewis" <richardlewis@xxxxxxxxxxxxxx>
Date: Thu, 25 Nov 2004 15:08:57 +0000
richard lewis designer
On Thu, 25 Nov 2004 14:45:21 -0000, "Michael Kay" <mike@xxxxxxxxxxxx>
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@xxxxxxxxxxxx>
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@xxxxxxxxxxxxxx

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.