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

decoding hex string to ascii or UTF-8

Subject: decoding hex string to ascii or UTF-8
From: Steven Hentschel <steven.hentschel@xxxxxxxxxxx>
Date: Tue, 1 Jul 2008 14:42:41 +0100
 decoding hex string to ascii or UTF-8
I'm currently trying to work out the best way to convert a string of hex into
the characters represented by each hex byte. I'm using xslt 2.0. So far I've
come up with a function that simply does a lookup to from the hex value to the
ascii character that hex value represents (see below). Can anyone suggest a
better way? Is there a way (without using a huge lookup to achieve a similar
sort of  thing for UTF-8 chars?




















        !
        "
        #
        $
        %
        &
        &apos;
        (
        )
        *
        +
        ,
        -
        .
        /
        0
        1
etc.


Regards

Steven Hentschel
_________________________________________________________________

http://clk.atdmt.com/UKM/go/msnnkmgl0010000002ukm/direct/01/

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-2007 All Rights Reserved.