Differances between XML created by C# Team and Java Team
$30-50 USD
Cerrado
Publicado hace casi 12 años
$30-50 USD
Pagado a la entrega
One Java Team and one C# Team creates a XML.
The two XML are attached to this project.
The two teams uses namespace different in the XML.
XmlDocument document = new XmlDocument();
[login to view URL](@"C:\TEMP\XML\_from\[login to view URL]");
XmlNamespaceManager nsmgr = new XmlNamespaceManager([login to view URL]);
[login to view URL]("en", "[login to view URL]");
[login to view URL]("ds", "[login to view URL]");
XmlElement childElement = [login to view URL]("child");
XmlNode parentNode = [login to view URL]("/en:Envelope/en:Header/ds:Signature",nsmgr);
[login to view URL](childElement);
[login to view URL](@"C:\temp\[login to view URL]");
This program works with the Java Team Created XML but not with the C# Team created XML. If almost the same code is created but without the XMLnamespaceManager the code is working.
The task is to point out the "errors" in the XML from each team and make a c# XML DOM-based program that uses namespace from analysing the XML and NOT by hardcoded added namespace to the namespace manager.
The task is to simply find different xmlnodes and add a "child" to the SingleSelectNode(...,...) using xpath