loyaliser
asked on
building asp.net tag string for output
inside a codebehind file i build a string containing the <asp:xml> tag... with attributes inside etc.
then output that string in .aspx page as <%=strASPTag%>
the problem is that it is not resolving the tag... it just prints it out as plain text!
the string is being set like this in the codebehind:
strASPTag = "<ASP:XML ID='XMLContent' DOCUMENTSOURCE='../Foo.xml ' TRANSFORMSOURCE='../Foo.xs lt' RUNAT='server' />";
should i be using double-quotes instead of singles? if so, do i need to use some escape character?
thanks...
then output that string in .aspx page as <%=strASPTag%>
the problem is that it is not resolving the tag... it just prints it out as plain text!
the string is being set like this in the codebehind:
strASPTag = "<ASP:XML ID='XMLContent' DOCUMENTSOURCE='../Foo.xml
should i be using double-quotes instead of singles? if so, do i need to use some escape character?
thanks...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I am glad that helped.
May be you wanna close this question and move it to PAQ.
Naveen
May be you wanna close this question and move it to PAQ.
Naveen
ASKER
oops... forgot to close.
thanks again!
thanks again!
ASKER