I'd to know how to delete a node with range using the command below.
single node delete works fine:
xmlstarlet ed -L -d '//job/input/audio_selector[2]' profile.xml
How to achieve this if I want to delete a node with range.
sample delete a node audio_selector from range 2 to 20:
audio_selector
based on position; it's deleting the secondaudio_selector
. Is this what you really want or do you want to base it on the value ofaudio_selector
? – Daniel Haley