devxlogo

Using the unparsed-entity-uri XSLT Function

Using the unparsed-entity-uri XSLT Function

This tip shows how to insert an image into the result-tree of an XSLT transformation using the unparsed-entity-uri function.

Suppose you have this element:

And an unparsed entity such as a bitmap:

You can “load” sigla.bmp into a XSLT result tree like this:

devx-admin

Share the Post: