XSLT: Convert base64 data into image files

前端 未结 4 1901
日久生厌
日久生厌 2020-12-03 02:07

I have seen several questions on how to encode an image file in base64, but how about the other way around - how do I reconstitute a picture from a base64 string stored in a

4条回答
  •  忘掉有多难
    2020-12-03 02:54

    I found this entry from the XSL maiing lists that describes how to use the Saxon extension function xs:base64Binary-to-octet to stream it out to a file using the Java FileOutputStream in an XSLT 2.0 stylesheet:

    
    
       
       
       
       
    
    
    

提交回复
热议问题