Non-Standard xml document
i have document has number of xml elements in it, but not standard xml document.
as result, when run command:
$data = [xml] (get-content "c:\test.nsxml")
i error
cannot convert value "system.object[]" type "system.xml.xmldocument". error: "the specified node cannot be
inserted valid child of node, because specified node wrong type."
the problem can't convert document standard xml because used third party application needs have file in proprietary format. yet need manipulate xml elements in can customize file.
what can do?
thanks!
without sample of file impossible you.
usually these files not non-standard particles of xml.
\_(ツ)_/
Windows Server > Windows PowerShell
Comments
Post a Comment