user1482807
user1482807

Reputation: 203

Image to base64 in xslt

I need to convert a image to base64binary content. Can we do it in xslt. I was able to convert string to base64 using saxon:string-to-base64Binary extension function. But how to convert image to base64. Can anyone help on this issue please.

Thanks

Upvotes: 0

Views: 527

Answers (1)

Michael Kay
Michael Kay

Reputation: 163322

There's no built-in function or Saxon extension function to do this. You would have to write your own extension function.

Upvotes: 1

Related Questions