just in case you needed more concrete case, i made this : OK i build an example of an xml content of which i want to remove all the eleent with certain carateristics... say, all the <e> elements :</e> $ cat b.xml <d></d> <c> <d> <e> </e> </d> </c> <d></d> <c> <e></e> </c> <d></d> these two commands leaves all <e> in place $ xidel b.xml --xml -e '[not(self::e)]' $ xidel b.xml --xml -e ' except e'</e> again, thank you for your help, zui 201908062 Hello, I've been trying different ways to remove all...
Hello, I've been trying different ways to remove all the Paths elements from the settings file of doublecmd : doublecmd.xml (i use it in linux : https://sourceforge.net/p/doublecmd/wiki/Download/) a reason to want to do this is that when backing up to move around i don't want to carry non-pertinent data So i've used except in : $ xidel doublecmd.xml -e '* except Paths' and several variations prepending paths like // and * with <paths> never gone</paths> I also applied : -e '*[not(self::Paths)]' with...
Good Day everyone! i'm embarassed to ask a probably ridiculous question, but i can't...