How can I process ASP.NET code returned from <asp:Xml>?

  • Thread starter Greg Collins [MVP]
  • Start date
G

Greg Collins [MVP]

I've got a web site I've built that uses an InfoPath form to generate an xml file. This file is then transformed within the default.aspx page to create the contents of the page.

The problem I'm running into is that I need to be able to return more ASP.NET code as part of the return value of the <asp:Xml/> call, but it does not get processed at this point.

The call: <asp:Xml id="myXml" runat="server" DocumentSource="myFile.xml" TransformSource="myTransform.xsl" />

What can I do to be able to return ASP.NET code from <asp:Xml/> and have it processed as ASP.NET code?
 
J

John Saunders

I've got a web site I've built that uses an InfoPath form to generate an xml
file. This file is then transformed within the default.aspx page to create
the contents of the page.

The problem I'm running into is that I need to be able to return more
ASP.NET code as part of the return value of the <asp:Xml/> call, but it does
not get processed at this point.

The call: <asp:Xml id="myXml" runat="server" DocumentSource="myFile.xml"
TransformSource="myTransform.xsl" />

What can I do to be able to return ASP.NET code from <asp:Xml/> and have it
processed as ASP.NET code?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,813
Latest member
lawrwtwinkle111

Latest Threads

Top