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

Popular posts from this blog

Error: 0x80073701 when trying to add Print Services Role in Windows 2012 Standard

Disconnecting from a Windows Server 2012 R2 file sharing session on a Windows 7,8,10 machine

Windows 2016 RDS event 1306 Connection Broker Client failed to redirect the user... Error: NULL