You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Related to #52, the result returned by xmldiff is not human readable if there is a default namespace.
However, if we replace getpath() with getelementpath() then we can get a self-contained, human readable path. These paths work with the .find() method.
My current workaround is to strip the namespace before performing the diff operation, but this adds an extra step outside of the command line tool and may not be feasible in all use cases.
Would it be make sense to add the option for a path in the style of getelementpath()? If so, I would be willing to contribute to the development. Alternatively, would it make sense to add an option to strip namespaces?
Related to #52, the result returned by xmldiff is not human readable if there is a default namespace.
However, if we replace
getpath()
withgetelementpath()
then we can get a self-contained, human readable path. These paths work with the.find()
method.xmldiff/xmldiff/utils.py
Line 115 in ca0e024
My current workaround is to strip the namespace before performing the diff operation, but this adds an extra step outside of the command line tool and may not be feasible in all use cases.
Would it be make sense to add the option for a path in the style of
getelementpath()
? If so, I would be willing to contribute to the development. Alternatively, would it make sense to add an option to strip namespaces?The text was updated successfully, but these errors were encountered: