[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

asp.net tags

Subject: asp.net tags
From: Jan Limpens <jan.limpens@xxxxxxxxx>
Date: Sun, 5 Sep 2004 21:14:08 -0300
asp.net tags
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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.