I'm trying to queue an event from a stylesheet using com.novell.nds.dirxml.ldap.QueueEventRequest.

I create the event as a variable in xslt but QueueEventRequest wants it as an array of bytes, not a RTF. What is the easiest way
to serialize my variable?

My first thought was xpath string() that doesn't work.

Best regards,