Based on Galexis script :
https://qelectrotech.org/forum/viewtopi … 4579#p4579
<conductors>
<conductor x="0" type="multi" formula="555222" freezeLabel="false" numsize="7" horizrotatetext="0" function="L1" onetextperfolio="1" y="0" terminal1="14" vertirotatetext="270" terminal2="13" num="555222" displaytext="1" condsize="3" color="#00ffff" tension-protocol="220V">
<sequentialNumbers/>
</conductor>
<conductor x="0" type="multi" formula="" freezeLabel="false" numsize="7" horizrotatetext="0" function="TER" onetextperfolio="1" y="0" terminal1="0" vertirotatetext="270" terminal2="3" num="hhhh" displaytext="1" condsize="1" tension-protocol="48V">
<sequentialNumbers/>
</conductor>
<conductor x="0" type="multi" formula="" freezeLabel="false" numsize="7" horizrotatetext="0" function="L3" onetextperfolio="1" y="0" terminal1="4" vertirotatetext="270" terminal2="7" num="test" displaytext="1" condsize="1" tension-protocol="110V">
<sequentialNumbers/>
</conductor>
<conductor x="0" type="multi" formula="" freezeLabel="false" numsize="7" horizrotatetext="0" function="L2" onetextperfolio="1" y="0" terminal1="8" vertirotatetext="270" terminal2="11" num="25" displaytext="1" condsize="2" color="#0055ff" tension-protocol="380V">
<sequentialNumbers/>
</conductor>
</conductors>
laurent@debian:~/Desktop$ xmlstarlet sel -T -t -m /project/diagram/conductors/conductor -s A:N:- "@num" -v "concat(@num,';',@condsize,';',@function,';',@tension-protocol,';',@type,';',@color,';')" -n 4.qet
hhhh;1;TER;48V;multi;;
test;1;L3;110V;multi;;
25;2;L2;380V;multi;#0055ff;
555222;3;L1;220V;multi;#00ffff;
"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."