Using a dynamic URL to add an image using XSL: FO

I want to add an image to my PDF file. Problem ist that

<fo:external-graphic src="url('URL here')"/>

will not accept anything except the url. However, the link to the image I want to add comes from a different value inside the converted XML document.

Is there a way to generate image URLs dynamically?

Thanks in advance Sebastian

+3
source share
1 answer

Use Attribute Value Template

. XPath ({}). , , {{ }}.

+5

Source: https://habr.com/ru/post/1769361/


All Articles