Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


[xsl] decoding hex string to ascii or UTF-8

From: Steven Hentschel <steven.hentschel@----------->
To:
Date: 7/1/2008 1:43:00 PM
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/


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent