<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> </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> </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></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'>="</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'>"></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><</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'>="</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'>"/></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></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'>></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> </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></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'>="</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'>"</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'>="</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'>"</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'>="</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'>"/></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> </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> </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> </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> </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. Got support twice on this list.
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.
Is that possible to call an action from a XSL? I know that you can call a
java class. I already do it and it works fine. Why do I want to
call an action? Because this action is already used by our
application to display images that are stored in a DB2 database. This
action is called from jsp pages and from other places. I know need to
call that same action from my XSL.<br>
<br>
I tried to put it in a <fo:external-graphic .../> object with the src
attribute pointing to my action. It did not work.<br>
<br>
In the XML file I have this object with two attributes which are URLs to my
action:<br>
<cheque type="CHQ"<br>
dateretrait="20050312"<br>
dateretour=""<br>
datecomptable="a"<br>
montant="1500.00"<br>
nocheque="11221"<br>
noref="01"><br>
<recto><![CDATA[http://localhost:7001/module/GetImage.do?dateComptable=20060626&noReference=0002000020&cote=recto]]></recto><br>
<verso><![CDATA[http://localhost:7001/module/GetImage.do?dateComptable=20060626&noReference=0002000020&cote=verso]]></verso><br>
</cheque><br>
<br>
In my XSL, tried to put a external-graphic tag like this:<br>
<fo:external-graphic src="url('{@recto}')"
scaling="non-uniform" content-width="9.17cm"
content-height="4.13cm" border-end-width="6.5mm"/><br>
<br>
I thought that the url() function would do the trick. But no image is
displaying in the resulting PDF file. 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>