Using XSLT to write ASP.NET control

How do I write ASP.NET controls using XSLT?

I have a simple need for with my XSLT
<asp:button xmlns:asp="aaa" onclick="AddToCart()" runat="server" Text="Button" />

But is not displaying anything when I load the page.
Who is Participating?
DhaestConnect With a Mentor Commented:
Use XSLT to Create an ASP.NET Page with ASP.NET Server Controls

Generate dynamic ASP.NET pages by using XML and XSLT

lawsoAuthor Commented:
Thanks for the prompt response.
The first one looks close but it doesn't seem to work.

I added a Namespace to the Stylesheet and then added my ASP:BUTTON but it is not displaying anything
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.