Greetings,
I need to remove tags (about 1000) within an XML file. I tried it with jquery, but with no success:
<html>
<!--jquery app removes specific <t2_patch ...>-tag -->
<script src="http://code.jquery.com/jquery-latest.min.js"></script>
</head>
<body>
<button>Kill t2_patch-tags </button>
<script>
$("button").click(function () {
$('/home/dan/series14AreaListOnly.xml').remove('t2_patch');
});
</script>
</body>
</html>
My aim is to remove t_patch -tags within an 300MB large XML file. Is this approach I did so far ok, or am I completely wrong. How can I save the changes ? (Because the remove() function actually does not remove anything directly on the xml file ?).
Thanks in advance for any hints and with best regards
Daniyal