- From: Liam R E Quin <liam@w3.org>
- Date: Wed, 03 Jul 2013 14:01:27 -0400
- To: Michael Kay <mike@saxonica.com>
- Cc: Florent Georges <fgeorges@fgeorges.org>, EXPath CG <public-expath@w3.org>
On Wed, 2013-07-03 at 18:07 +0100, Michael Kay wrote:
> bin:hex("CAFEBABE")
>
> which accepts a string in the lexical space of hexBinary and returns a
> base64Binary value that can be used as input to the functions.
Sensible approach.
Note, call it hextobase64binary or something maybe? In other languages
hex("20") typically returns the integer 32...
--
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org freenode/#xml
Received on Wednesday, 3 July 2013 18:01:31 UTC