[xsl] Encoding base64 with XSLT

Subject: [xsl] Encoding base64 with XSLT
From: "Michael Wiedmann" <michael.wiedmann@xxxxxxxxx>
Date: Thu, 19 Aug 2004 11:04:56 +0200
An XML based addressbook has to be converted to LDIF (LDAP Data
Interchange Format, RFC 2849) using an XSLT-stylesheet. LDIF does not allow non-ASCII characters, they have to be base64-encoded.


E.g. given an element

<lastname>M|ller</lastname>

has to be written like

sn:: TfxsbGVy

instead of simply:

sn: M|ller

Is there any way to encode base64 with XSLT

Michael

Current Thread