Embedding Images in XSLT Results

Hi,

We are looking for a way to embed images in the HTML files created through style sheets using the XSLT package but have been unable to do so till now.

The image is in .gif format. We also want to refernce a css file from inside the XSL and even that is failing.

Does anyone have an idea how we could do this?

Rgds

From what I understand, there’s no way to actually embed image information in-line as some binary data within an HTML document…so you’re stuck there. You’d have to have the images hosted somewhere with references in the tags.

With the CSS stuff, are you trying to ‘link’ to the CSS file, or are you wanting to in-line the CSS data, too? If you’re linking, you could just create a tag like the following as you’re building your output in the xsl:

Jason