This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: how to outupt data in hex
- To: xsl-list at lists dot mulberrytech dot com
- Subject: RE: [xsl] how to outupt data in hex
- From: "Clapham, Paul" <pclapham at core-mark dot com>
- Date: Tue, 27 Mar 2001 08:42:30 -0800
- Reply-To: xsl-list at lists dot mulberrytech dot com
Aren't Chinese characters valid in XML? (That was the original question's
context.) Your book on p.62 says that any Unicode character between #x21
and #xD7FF or between #xE000 and #xFFFD is an acceptable character. So it
seems to me that outputting Chinese characters should work, if you write
#x3C5D or whatever the correct Unicode representation might be.
PC2
-----Original Message-----
From: Michael Kay [mailto:mhkay@iclway.co.uk]
Sent: March 27, 2001 00:59
To: xsl-list@lists.mulberrytech.com
Subject: RE: [xsl] how to outupt data in hex
> my question is: is there any function/way does XML/XSLT that
> outputs the
> contents in Hex?
> example
>
> <data>
> ABC
> <data>
>
> the output is:
> 0x650x660xb7
>
You'll need an extension function for this.
Or consider writing a back-end ContentHandler to do the final processing.
Mike Kay
Software AG
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list