Frank Daly wrote:

Hi

I figured this out using google.  The solution I found is to assign a
variable to my xml element and use this variable as the source for my
image

    <xsl:variable name="graphUrl"
      select="'http://localhost:8080/Images/'"/>
    <xsl:variable name="jpeg"
      select="'.jpg"/>

<xsl:variable name="custImage" select="customer/image"/>
<xsl:variable name="imagePath" select="concat($graphUrl,$custImage,
$jpeg)"/>
<img src="{$imagePath}"/>


Looks a bit complicated. Why not just:

<img src="/Images/{customer/image}.jpeg"/>

Referring to localhost will prevent the page from working outside your own machine.

Regards, Upayavira


Frank



-------------------Legal Disclaimer---------------------------------------


The above electronic mail transmission is confidential and intended only for the person to whom it is addressed. Its contents may be protected by legal and/or professional privilege. Should it be received by you in error please contact the sender at the above quoted email address. Any unauthorised form of reproduction of this message is strictly prohibited. The Institute does not guarantee the security of any information electronically transmitted and is not liable if the information contained in this communication is not a proper and complete record of the message as transmitted by the sender nor for any delay in its receipt.

----------------------------------------------------------------------------------------


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







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



Reply via email to