我正在通過本地文件在xml名稱空間中讀取數據。當我輸出時,我得到名稱空間加載不正確
"

在命名空間中。我究竟做錯了什麼?
樣品命名空間看起來像
- 的xmlns = 「甕:RosettaNet的:規格:交換:ShipmentReceiptNotification:XSD:模式:02.02」 的xmlns:DACC =「甕:RosettaNet的:規格:域:採購:AccountClassification :XSD:編碼表:01.03"
我加載的命名空間如下:
string contents = File.ReadAllText("loadNamespaces.txt");
XmlNode ShipmentReceiptNotification0Node = xmlDoc.CreateElement("ShipmentReceiptNotification", contents);
你想完成什麼?那太瘋狂了。 – 2013-03-08 04:56:08
我有一個有100個xmlns的名稱空間:名字結尾在... \。xsd> – 2013-03-08 05:01:58
你想完成什麼?你爲什麼需要這些命名空間? – 2013-03-08 05:02:14