M
Metin
Hello,
I want to submit my Infopath form to a web service. Web service receives an
XmlElement. That is ok. I can receive that form and save it to a file. But i
cant mange this xml data. How can i acces data in the xml element.
I try to use something like that. What is wrong. Do i need any xml
namespace?
XmlDocument xd = new XmlDocument();
xd.LoadXml( studentInfo.InnerText );
XPathNavigator nav = ((IXPathNavigable)xd).CreateNavigator();
XmlNamespaceManager xns = new XmlNamespaceManager( nav.NameTable );
XmlNode _node = xd.DocumentElement.SelectSingleNode("//studentName", xns );
I want to submit my Infopath form to a web service. Web service receives an
XmlElement. That is ok. I can receive that form and save it to a file. But i
cant mange this xml data. How can i acces data in the xml element.
I try to use something like that. What is wrong. Do i need any xml
namespace?
XmlDocument xd = new XmlDocument();
xd.LoadXml( studentInfo.InnerText );
XPathNavigator nav = ((IXPathNavigable)xd).CreateNavigator();
XmlNamespaceManager xns = new XmlNamespaceManager( nav.NameTable );
XmlNode _node = xd.DocumentElement.SelectSingleNode("//studentName", xns );