[XSL-LIST Mailing List Archive Home]
RE: [xsl] Upper ASCII chars
> I'm having trouble getting upper ASCII chars to output the
> way I need them
Oh dear: "upper ASCII". There's no such thing. ASCII stops at 0x7F. A good
first rule in understanding character coding issues is to get your
(I've pared down my examples below to just the relevant
> info.) The
> XML data looks like the following :
> I output two versions of this data to two different files.
> The second file is an HTML page...
> I get the following in the file:
> <param name="input1"
> What I want, though, is:
> <param name="input1" value="£©®ÄËÓáöÿ.DTD">
> Is there a way to achieve this?
Not in standard XSLT. The two HTML files are equivalent, they result in the
same output from the browser, so you aren't supposed to care which is
Nevertheless, many people do care, so some processors give you a way of
controlling it. Saxon has an attribute saxon:character-representation, and I
think Xalan has some kind of configuration file.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list