xsl-list
[Top] [All Lists]

asp.net tags

2004-09-05 17:14:08
hi,

I use xslt to output an asp.net page which has script in it.
here is the code I am having trouble with:

<a
         href="PhotoPress/somefile.gif"
         title="Copyright by {../myns:Copyright}">
          <cc1:dynamicimage
           runat="server"
           imagefile="<%# GetThumbnail("PhotoPress/somefile.gif") %>">
          </cc1:dynamicimage>
</a>

and the xslt
  <xsl:template
   match="myns:Url">
    <xsl:if
     test="../@type='Image'">
      <div>
        <a
         href="PhotoPress/{.}"
         title="Copyright by {../myns:Copyright}">
          <cc1:dynamicimage
           runat="server"
XXX           imagefile="<%# GetThumbnail("PhotoPress/{.}") %>">
          </cc1:dynamicimage>
        </a>
      </div>
    </xsl:if>
...

of course the line marked with XXX is not parsing at all. But I do not
want to use &gt; as I need the actual < for the code to be executed.

how can I achieve this?

thanks a lot!
-- 
Jan Limpens
http://www.limpens.com


<Prev in Thread] Current Thread [Next in Thread>