Subject: RE: [xsl] character entities|
From: "Edward Bryant" <bryant_edward@xxxxxxxxxxx>
Date: Mon, 02 May 2005 09:49:36 -0500
> So what is the accepted way to add character references to
> the output? Would I have to run some kind of find-and-replace script > after the XSLT transformation? What do other people do?
You shouldn't care whether characters in the output are represented as themselves or as character references. No process that consumes the output XML or HTML is going to make a distinction, so it doesn't matter. Leave it to the serializer to decide. If you want to look at the output in a text editor, choose an encoding that your text editor can handle, and the serializer will do the rest.
Michael Kay http://www.saxonica.com/