[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] asp.net tags


Subject: RE: [xsl] asp.net tags
From: <Jarno.Elovirta@xxxxxxxxx>
Date: Mon, 6 Sep 2004 08:00:51 +0300

Hi,

> 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.

Some XSLT processors have extensions that will allow you to disable output
escaping in attribute values, but if yours doesn't, then use DOE to output the
cc1:dynamicimage element as a text node, not as an element node.

Cheers,

Jarno - Nik Denton: Spacehopper (Ingo Mix)


Current Thread
Keywords