Changed the way XmlUpdate uses the prefix parameter to allow setting a default namespace by simply omitting or adding a "" value for the prefix argument.
This way, we can specify only a namespace that we wish work in and not need to use a dummy prefix at every level of the xpath parameter's path when the concerned nodes are in the default namespace.
Changed the way XmlUpdate uses the prefix parameter to allow setting a default namespace by simply omitting or adding a "" value for the prefix argument.
This way, we can specify only a namespace that we wish work in and not need to use a dummy prefix at every level of the xpath parameter's path when the concerned nodes are in the default namespace.
This is documented behavior of AddNamespace's prefix parameter as per msdn (see: https://msdn.microsoft.com/en-us/library/system.xml.xmlnamespacemanager.addnamespace(v=vs.110).aspx)