473,569 Members | 2,698 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

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.x sl" />

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

--
Greg Collins [InfoPath MVP]
Please visit: http://www.InfoPathDev.com

Nov 18 '05 #1
1 1293
"Greg Collins [MVP]" <Gr**********@I nfoPathDev.com> wrote in message
news:ef******** ******@tk2msftn gp13.phx.gbl...
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.x sl" />

What can I do to be able to return ASP.NET code from <asp:Xml/> and have it
processed as ASP.NET code?
-----
I don't believe it's possible to do this. The best you could hope for would
be for you to somehow use the XML to create a new temporary .aspx file, and
then use Server.Transfer to jump to that file.
--
John Saunders
johnwsaundersii i at hotmail
Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
1381
by: zurg | last post by:
Hi All! I'm completly green at using XML/XSL and have a small problem... I have a XML file that is generated by my application. It looks like this: <PLANETS> <PLANET> <NAME>Eartch</PLANET> <INFO> <COLOR>Blue</COLOR> <WEIGHT>168732372</WEIGHT> </INFO>
3
2930
by: rao | last post by:
Hi All, I am generating temporary xml files to bind it to tree view control. A unique xml file is generated for each user. I generating these files Using streamwriter class. Later when I try to delete the file with File.Dlete in page unload event I gets an error File already in use by another process. When I examine process explorer...
0
1193
by: Random | last post by:
I would like to be able to read an Xml file with an <asp:Xml> Web Control and using XSLT dynamically write <asp:Xml> Web Controls to the page using the information from the first Xml file, which would in turn perform their own transform based on existing xml and xslt files. As another way of accomplishing my goal, I was thinking I could have...
1
1216
by: Danny Ni | last post by:
Hi, I use the <asp:xml> control, xml and xslt to generate a HTML for users to input data, here is my HTML snippet in a web form: <asp:Xml id="Xml1" runat="server" TransformSource="entry.xsl" DocumentSource="data.xml"></asp:Xml> The form display correctly in the browser, the question is, how do I get the values users input?
1
2096
by: John | last post by:
Hi all, I did post this about 10 hours ago thinking I would have received an answer now but it is quite urgent. How do I add a COM object to a web form? I notice there's a primary interop assembly for Office web components and what I'm trying to do here is to create a PivotTable object (which is fine) but then I want to add it to a web...
16
2352
by: lreames | last post by:
I am new to XML, but not ASP. I have the following XML that I load via Dim xml Set xml = Server.CreateObject("Microsoft.XMLDOM") xml.async = False xml.loadXML xmldom.xml
5
1423
by: David Harris | last post by:
I am developing a type of data warehouse. Basically, we have 20 client survey machines that are each separated from the server by space and lack of network. Yet both need to speak to each other such that the clients know the latest configuration information and the server contains completed survey data from the clients. Currently I'm...
3
5518
by: Maxwell2006 | last post by:
Hi, We have Excel 2003 templates and we need to automatically generate excel 2003 xls files based on our SQL server database tables' data. Since we need to generate the xls files at out asp.net server side, I assume we cannot use excel automation based on the license agreement. What would b the best way to do that? Any help would be...
1
1760
by: =?Utf-8?B?RGlmZmlkZW50?= | last post by:
Hello All, I have a simple web form that has an <asp:xmlcontrol. I am using a dataset's getXml() and binding it to the Document property of xml control. I am also using an XSLTransform object to render the content as an HTML. Everything is working fine and I am able to render the data in the form of a table. Here is my problem: When I...
0
7697
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7924
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8120
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7672
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6283
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5219
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3640
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1212
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
937
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.