<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 10">
<meta name=Originator content="Microsoft Word 10">
<link rel=File-List href="cid:filelist.xml@01C6A592.304319F0">
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="time"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="date"/>
<!--[if gte mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:Zoom>90</w:Zoom>
  <w:GrammarState>Clean</w:GrammarState>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:EnvelopeVis/>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]--><!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;
        mso-font-charset:0;
        mso-generic-font-family:swiss;
        mso-font-pitch:variable;
        mso-font-signature:1627421319 -2147483648 8 0 66047 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-parent:"";
        margin:0in;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;
        text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;
        text-underline:single;}
p
        {margin:0in;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        mso-style-noshow:yes;
        mso-ansi-font-size:10.0pt;
        mso-bidi-font-size:10.0pt;
        font-family:Arial;
        mso-ascii-font-family:Arial;
        mso-hansi-font-family:Arial;
        mso-bidi-font-family:Arial;
        color:navy;}
span.GramE
        {mso-style-name:"";
        mso-gram-e:yes;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;
        mso-header-margin:.5in;
        mso-footer-margin:.5in;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
 /* Style Definitions */ 
 table.MsoNormalTable
        {mso-style-name:"Table Normal";
        mso-tstyle-rowband-size:0;
        mso-tstyle-colband-size:0;
        mso-style-noshow:yes;
        mso-style-parent:"";
        mso-padding-alt:0in 5.4pt 0in 5.4pt;
        mso-para-margin:0in;
        mso-para-margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:10.0pt;
        font-family:"Times New Roman";}
</style>
<![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple style='tab-interval:.5in'>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Hi Sebastien,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>You need to put that recto attribute
inside a variable first. Like this:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=3 color=blue face="Times New Roman"><span style='font-size:12.0pt;
color:blue;background:white;mso-highlight:white'>&lt;</span></font><font
color=black><span style='color:black;background:white;mso-highlight:white'>xsl<span
class=GramE>:variable</span></span></font><font color=red><span
style='color:red;background:white;mso-highlight:white'> name</span></font><font
color=blue><span style='color:blue;background:white;mso-highlight:white'>=&quot;</span></font><font
color=black><span style='color:black;background:white;mso-highlight:white'>logo</span></font><font
color=blue><span style='color:blue;background:white;mso-highlight:white'>&quot;&gt;</span></font><font
color=black><span style='color:black;background:white;mso-highlight:white'><o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=3 color=blue face="Times New Roman"><span style='font-size:12.0pt;
color:blue;background:white;mso-highlight:white'><span
style='mso-spacerun:yes'>   </span>&lt;</span></font><font color=black><span
style='color:black;background:white;mso-highlight:white'>xsl<span class=GramE>:value</span>-of</span></font><font
color=red><span style='color:red;background:white;mso-highlight:white'> select</span></font><font
color=blue><span style='color:blue;background:white;mso-highlight:white'>=&quot;</span></font><font
color=black><span style='color:black;background:white;mso-highlight:white'>
image[@id='colour'] </span></font><font color=blue><span style='color:blue;
background:white;mso-highlight:white'>&quot;/&gt;</span></font><font
color=black><span style='color:black;background:white;mso-highlight:white'><o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=3 color=blue face="Times New Roman"><span style='font-size:12.0pt;
color:blue;background:white;mso-highlight:white'>&lt;/</span></font><font
color=black><span style='color:black;background:white;mso-highlight:white'>xsl<span
class=GramE>:variable</span></span></font><font color=blue><span
style='color:blue;background:white;mso-highlight:white'>&gt;</span></font><font
color=black><span style='color:black;background:white;mso-highlight:white'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=3 color=blue face="Times New Roman"><span style='font-size:12.0pt;
color:blue;background:white;mso-highlight:white'>&lt;</span></font><font
color=black><span style='color:black;background:white;mso-highlight:white'>fo<span
class=GramE>:external</span>-graphic</span></font><font color=red><span
style='color:red;background:white;mso-highlight:white'> src</span></font><font
color=blue><span style='color:blue;background:white;mso-highlight:white'>=&quot;</span></font><font
color=black><span style='color:black;background:white;mso-highlight:white'>url({$logo})</span></font><font
color=blue><span style='color:blue;background:white;mso-highlight:white'>&quot;</span></font><font
color=red><span style='color:red;background:white;mso-highlight:white'>
content-height</span></font><font color=blue><span style='color:blue;
background:white;mso-highlight:white'>=&quot;</span></font><font color=black><span
style='color:black;background:white;mso-highlight:white'>{$height}</span></font><font
color=blue><span style='color:blue;background:white;mso-highlight:white'>&quot;</span></font><font
color=red><span style='color:red;background:white;mso-highlight:white'>
content-width</span></font><font color=blue><span style='color:blue;background:
white;mso-highlight:white'>=&quot;</span></font><font color=black><span
style='color:black;background:white;mso-highlight:white'>{$width}</span></font><font
color=blue><span style='color:blue;background:white;mso-highlight:white'>&quot;/&gt;</span></font><font
color=black><span style='color:black;background:white;mso-highlight:white'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><span class=GramE><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>hope</span></font></span><font
size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:navy'> help. Let us know.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>regards<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b> Sébastien CLERMONT
[mailto:sclermont@hotmail.com<span class=GramE>] <br>
<b><span style='font-weight:bold'>Sent</span></b></span><b><span
style='font-weight:bold'>:</span></b> </span></font><st1:date Month="7" Day="12"
Year="2006"><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:
 Tahoma'>Wednesday, July 12, 2006</span></font></st1:date><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> </span></font><st1:time
Hour="6" Minute="17"><font size=2 face=Tahoma><span style='font-size:10.0pt;
 font-family:Tahoma'>6:17 AM</span></font></st1:time><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'><br>
<b><span style='font-weight:bold'>To:</span></b> xep-support@renderx.com<br>
<b><span style='font-weight:bold'>Subject:</span></b> [xep-support] Calling an
action from XSL</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='mso-margin-top-alt:0in;margin-right:0in;margin-bottom:
12.0pt;margin-left:.5in'><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'>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=&quot;CHQ&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
dateretrait=&quot;20050312&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
dateretour=&quot;&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
datecomptable=&quot;a&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
montant=&quot;1500.00&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
nocheque=&quot;11221&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
noref=&quot;01&quot;&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=&quot;url('{@recto}')&quot;
scaling=&quot;non-uniform&quot; content-width=&quot;9.17cm&quot;
content-height=&quot;4.13cm&quot; border-end-width=&quot;6.5mm&quot;/&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<o:p></o:p></span></font></p>

</div>

</body>

</html>