Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • [email protected] 30 posts 42 karma points
    Nov 05, 2009 @ 22:52
    r_lamb@hotmail.com
    0

    Image src can't have url params in my xslt?

    I'm unable to include the image tag <img src="http://www.justgoodbusiness.biz/logoonline/getimage.php?bid=8610&c=black&h=1&s=50" width="87" height="35" border="0" title="Click to verify BBB accreditation and to see a BBB report." alt="Click to verify BBB accreditation and to see a BBB report." oncontextmenu="alert('Use without permission is prohibited. The BBB Accreditation seal is a trademark of the Council of Better Business Bureaus, Inc.'); return false;" /> in my xslt. 

    I've isolated the problem to be with the src value containing equal "=" signs for the query params (?bid=86108&c=black&h=1&s=50). Does anyone know a way around this? I tried url encoding the string, but then the image isn't pulled in. 

  • [email protected] 30 posts 42 karma points
    Nov 05, 2009 @ 22:56
    r_lamb@hotmail.com
    0

    Just noticed that it stripped the url params from the image tag above. It had ?bid=86108&c=black&h=1&s=50 after the getimage.php. That is where the xsl parsing issue is. Thanks!

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Nov 05, 2009 @ 23:16
    Jan Skovgaard
    0

    Hi

    Could you please provide us with some sample XSLT code on what you are doing? I might have an idea about where it is going wrong but I would like to see some code before I spread my wisdom :-)

    /Jan

  • dandrayne 1138 posts 2262 karma points
    Nov 06, 2009 @ 00:07
    dandrayne
    1

    Use &amp; instead of & and you should be ok with the image call, but are you also having trouble with the inline javascript?

Please Sign in or register to post replies

Write your reply to:

Draft