I have 90mb xml files that I'd like to process on Linux Mac & Windows. They have hundreds of "Label" nodes like this:
<net.rptools.maptool.model.Label> ...few children... </net.rptools.maptool.model.Label>
I want to process the files to remove all these Label nodes. However, it might be better to remove their parents, which seems to be a few
<labels class="linked-hash-map"> ...many megs of Label children... </labels>
I won't know which is better until I attempt to load the xml back into the application.
I've seen powershell XML processing examples that seem to use Windows specific APIs. What might be the preferred platform-agnostic API and style for deleting nodes from large-ish files?