Reputation: 1000
Is there an inbuilt mechanism within PowerShell (or within .NET that can be used by PowerShell) that will allow me to canonicalise an XML file (see step 2 below)?
The canonicalisation must be based on the W3C rules described at https://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments but there must be a way to do this within .NET without having to manually implement these rules.
My use case is the following:
Upvotes: 2
Views: 365