David The cmd worked well. Thank you very much. Mason
I have a big xml (~ 25MB) with some of the contents like this below. ... <TRANS_LINE> ... <FROM_LOCATION_CD> <FROM_LOCATION_CD_CODE>2552139095.000000</FROM_LOCATION_CD_CODE> <FROM_LOCATION_CD_DISPLAY>Rx ABC SCO ADC</FROM_LOCATION_CD_DISPLAY> <FROM_LOCATION_CD_CDF_MEANING>PHARM</FROM_LOCATION_CD_CDF_MEANING> <FROM_LOCATION_CD_ALIAS>CD:2552139095;CS:220</FROM_LOCATION_CD_ALIAS> </FROM_LOCATION_CD> ... </TRANS_LINE> ... I would like to delete those nodes <TRANS_LINE> with their grand-children nodes...
I am a new lshell user, not an admin. So, my apology if it is a FAQ. I belive that...