New answers tagged xml
0
I wrote a quick python script, do not know if it's simple enough.
Place this script in the same folder with your dest.xml.
#!/usr/bin/python
import re
FILENAME = 'dest.xml'
GROUPNAME = 'group1'
NODEID = 'PQR'
with open(FILENAME) as f:
in_group = False
for line in f:
line = line.strip()
group_pattern = ...
Top 50 recent answers are included