# Asp.net actionscript xml help

**URL:** https://forum.kirupa.com/t/asp-net-actionscript-xml-help/126781
**Category:** Uncategorized
**Created:** [October 27, 2004, 7:50am UTC](https://forum.kirupa.com/t/asp-net-actionscript-xml-help/126781 "2004-10-27T07:50:32Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![anand](https://avatars.discourse-cdn.com/v4/letter/a/ecd19e/32.png) [@anand](https://forum.kirupa.com/u/anand)
#### Post date: [October 27, 2004, 7:50am UTC](https://forum.kirupa.com/t/asp-net-actionscript-xml-help/126781/1 "2004-10-27T07:50:32Z")

</div>

Hi,

I have loaded an xml object with data sent from an [asp.net](http://asp.net) application.

## the [asp.net](http://asp.net) code is

## [size=2]Response.Write(“strTasksXML=” & strTasksXML & “&”)

the actionscript code where the value is obtained and loaded in xml object is

* * *

var strTasksXML  
loadVariables(“[http://abc.aspx?var](http://abc.aspx?var)=” + txtbox1.text,this);

xmldata = new XML();  
xmldata.ignoreWhite = true;  
xmldata.onLoad = loadXML;

function waittime() {  
clearInterval(myTimer);  
xmldata.load(strTasksXML);  
}  
myTimer = setInterval(waittime, 2000);

function loadXML(loaded) {  
trace(xmldataold.firstChild.childNodes.length);  
}

* * *

I get an error message in the trace function which says “Undefined”.The xml file is fine. When I run a trace on “strTasksXML” the result is fine.

The only problem is how to load it into an xml object, so that it can be manipulated.

Could someone help me out here?

Thanks in advance. Any help given is greatly appreciated.

anand.  
[/size]
