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

  • Thread starter Thread starter Greg Collins [MVP]
  • Start date 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?
 
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?
 
Back
Top