Sam Tsai wrote:
I am looking a way to make the SRC of external-graphic tag dynamic.

This sounds like a pure XSLT question. Usually it's better to ask
on the Mulberry XSL list in such cases.
 http://www.mulberrytech.com/xsl/xsl-list/

<fo:external-graphic src=" some xpath like root/imgPath  " width="61.00mm"

Use braces around the XPath expression:

<fo:external-graphic src="{root/imgPath}" width="61.00mm" ...

Look up the term "attribute value template" or "AVT" in your favorite
XSLT reference for more information.

<imgPath>x:\folder\img1.jpg</imgPath>

Note that the value for the src of an external graphic should be an URL,
e.g.
 <imgPath>file:///x:/folder/img1.jpg</imgPath>


J.PIetschmann

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to