Hello all,
I'm working on a project that uses XML files to import its configuration, but I noticed that Powershell Studio indifference to Visual Studio / Code doesn't mark an error when the XML goes against the namespace.
Is there a way to add this functionality to Powershell Studio?
Thanks in advance.
Is there a setting or pluging for Powesrhell studio to respect the xml namespace?
Forum rules
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Re: Is there a setting or pluging for Powesrhell studio to respect the xml namespace?
In PowerShell, if you use XML/XPath to edit XML any errors that you force will cause an exception.
If there are namespace violations an exception will be thrown when the XML is loaded.
If there are namespace violations an exception will be thrown when the XML is loaded.