I am reading in an xml namespace through a local file. When I am outputting I am getting
"

in the namespace. What am I doing wrong?
sample namespace looks like
I am loading the namespace as follows:
string contents = File.ReadAllText("loadNamespaces.txt");
XmlNode ShipmentReceiptNotification0Node = xmlDoc.CreateElement("ShipmentReceiptNotification", contents);
In the CreateElement
method, the second parameter is only the namespace. Just the " urn:rosettanet:specification:interchange:ShipmentReceiptNotification:xsd:schema:02.02
" part.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.