简体   繁体   中英

Insert an image into an html page without using outer resources using XSLT

I've just received an absoultely mad task of writing an xsl file that should provide an html page as an output.

The trick is that the only external resource allowed to be used is a css file. The page contains a number of images for elements that can't be generated with css. I know there is a way to embed images into an XSL file as, for example, a Base64 code.

Is there a way to insert these images into the resulting html? %)

Why can't you use CSS embedded image example ? There are many other examples available: https://www.google.ch/search?q=css+embedded+image

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM