Seba
06-07-2005, 03:56 PM
Hi people,
It seams that I can't find a solution for passing a dynamic xml to VisualStudio .Net
In the Flash I have something very simple as:
var xmlIn:XML = new XML();
xmlIn.ignoreWhite = true;
xmlIn.onLoad = myOnLoad;
var xmlOut:XML = new XML("<controles />");
xmlOut.contentType = "text/xml";
var newNode:XMLNode = xmlOut.createElement("CONTROL");
newNode.attributes["tipo"] = este._tipo;
newNode.attributes["nombre"]= este._name;
xmlOut.firstChild.appendChild(newNode);
xmlOut.sendAndLoad("http://domain/MAP/MAP.aspx", xmlIn);
function myOnLoad(success:Boolean)
{
if (success)
{
debug.text = this;
trace ("ANDUVO");
}
else
{
trace("loginFailed");
}
}
I'm quite sure this works. The problem is at the .Net side. It seams that I can't find the way to "read" the XML sent.
Anyone did this before in VisualStudio .Net? I'm using C# but VB will work as well.
Thank you in advance!
It seams that I can't find a solution for passing a dynamic xml to VisualStudio .Net
In the Flash I have something very simple as:
var xmlIn:XML = new XML();
xmlIn.ignoreWhite = true;
xmlIn.onLoad = myOnLoad;
var xmlOut:XML = new XML("<controles />");
xmlOut.contentType = "text/xml";
var newNode:XMLNode = xmlOut.createElement("CONTROL");
newNode.attributes["tipo"] = este._tipo;
newNode.attributes["nombre"]= este._name;
xmlOut.firstChild.appendChild(newNode);
xmlOut.sendAndLoad("http://domain/MAP/MAP.aspx", xmlIn);
function myOnLoad(success:Boolean)
{
if (success)
{
debug.text = this;
trace ("ANDUVO");
}
else
{
trace("loginFailed");
}
}
I'm quite sure this works. The problem is at the .Net side. It seams that I can't find the way to "read" the XML sent.
Anyone did this before in VisualStudio .Net? I'm using C# but VB will work as well.
Thank you in advance!