<html>
<head>
<style>
P
{
margin:0px;
padding:0px
}
body
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body>Hi everyone.&nbsp; Got support twice on this list.&nbsp; Now I have a third issue to resolve!<br><br>I am not sure what is possible with XSL, so I will ask my question here.&nbsp; Is that possible to call an action from a XSL?&nbsp; I know that you can call a java class.&nbsp; I already do it and it works fine.&nbsp; Why do I want to call an action?&nbsp;&nbsp; Because this action is already used by our application to display images that are stored in a DB2 database.&nbsp; This action is called from jsp pages and from other places.&nbsp; I know need to call that same action from my XSL.<br><br>I tried to put it in a &lt;fo:external-graphic .../&gt; object with the src attribute pointing to my action.&nbsp; It did not work.<br><br>In the XML file I have this object with two attributes which are URLs to my action:<br>&lt;cheque type="CHQ"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dateretrait="20050312"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dateretour=""<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; datecomptable="a"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; montant="1500.00"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; nocheque="11221"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; noref="01"&gt;<br>&lt;recto&gt;&lt;![CDATA[http://localhost:7001/module/GetImage.do?dateComptable=20060626&amp;noReference=0002000020&amp;cote=recto]]&gt;&lt;/recto&gt;<br>&lt;verso&gt;&lt;![CDATA[http://localhost:7001/module/GetImage.do?dateComptable=20060626&amp;noReference=0002000020&amp;cote=verso]]&gt;&lt;/verso&gt;<br>&lt;/cheque&gt;<br><br>In my XSL, tried to put a external-graphic tag like this:<br>&lt;fo:external-graphic src="url('{@recto}')" scaling="non-uniform" content-width="9.17cm" content-height="4.13cm" border-end-width="6.5mm"/&gt;<br><br>I thought that the url() function would do the trick.&nbsp; But no image is displaying in the resulting PDF file.&nbsp; Is there any other function I could put in my XSL to correctly call the action and insert the image in the PDF?<br><br>Thank you.<br><br>Sebastien Clermont<br><br></body>
</html>