kodybrown / sortxml

a very simple utility that prettifies and sorts xml files.
MIT License
44 stars 13 forks source link

[Feature] Option to remove duplicate TAGs and their elemen/child, etc. #15

Open cyber-speed opened 1 year ago

cyber-speed commented 1 year ago

I just got here from the following link:

https://stackoverflow.com/questions/1424029/xml-sorting-formatting-tool

The tool works great, it formats/sorts as intended.

Yet i noticed one important issue, is it possible to also have an option to delete duplicated TAGs that have also duplicate element/child elements too? That would definitely come handy where many XMLs that have duplicated TAGs and its elements can be kept only unique ones, as well if we choose to merge multiple XMLs in to one XML and keep only unique TAGs, is that possible? Not sure if the repo is still maintained, but that would sure help tremendously.

Hope to hear from you, cheers.

cyber-speed commented 7 months ago

Is there a chance at all to get an answer, if what i mentioned above is possible/doable what so ever?

kodybrown commented 4 months ago

Sorry, GitHub isn't sending me any notifications.

It is definitely possible. However, truthfully I don't have any time to work on it for now..

cyber-speed commented 4 months ago

Sorry, GitHub isn't sending me any notifications.

It is definitely possible. However, truthfully I don't have any time to work on it for now..

Thank you for responding, good to know it can be done and possible. If and when time will allow. Cheers.