Hi simon,
Yes you are right. I forgot about the namespace. I made a small search and
found one workaround for it but to me it's a bit ugly. Simply put, you write
a namespace for asp and then remove it on code after the transformation.
Here's the link if you want to take a look;
http://www.devarticles.com/c/a/ASP.N...s-Using-XML/2/
Ugly ugly ugly !!! There should be a better way to do this. Maybe you should
ask it also on the msdn/xslt newsgroup.
Can you notify here also if you find a solution ?
Thanks,
Ethem
"simon" wrote:
Nah it doesn't work...... Without the escaping disabled I get a namespace
error - so neither way seems to work
"Ethem Azun" <Et*******@discussions.microsoft.com> wrote in message
news:8F**********************************@microsof t.com...
Hi Simon,
I think one way to do this is would be to escape the "<" character;
<xsl:text disable-output-escaping="yes">
<asp:button id="mybutton" runat=server></asp:button>
</xsl:text>
and announce this as an aspx file.
I did similiar things to create an xslt file with an xslt transformation
and
it worked well. Can you inform me if the one above also works or not?
Hope this helps,
Ethem
"simon" wrote:
Hi,
I was wondering how you include an asp.net button inside an xsl transform
file.
I want to put a button next to each entry when i style my xml data.
Thanks in advance,
Simon