xsl-list
[Top] [All Lists]

Re: Encoding base64 with XSLT

2004-08-20 22:29:24
Hi Michael,
  I have implemented base64 encoding in XSLT, and have
posted the answer on my web site ,
http://gandhimukul.tripod.com (because the solution is
a bit long).
 
  If you are interested, you may use the XSL..

Regards,
Mukul

--- Michael Wiedmann <michael(_dot_)wiedmann(_at_)detewe(_dot_)de>
wrote:

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


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


<Prev in Thread] Current Thread [Next in Thread>