Thanks. I did find this in my XSLT quick guide from O'reilly. I am going to
try it. 
hmm. I need a more detailed book on XSLT!! 


J.Pietschmann wrote:
> 
> 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]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/fo%3Aexternal-graphic--SRC-by-xpath-tf2280958.html#a6344006
Sent from the FOP - Users forum at Nabble.com.


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

Reply via email to