I managed to extract a conditional value in a very unelegant way using IF statements and recursive SUBSTRING_INDEX. If someone has a better method it would bevery muche welcomed.
IE: In this example I want to take the price that has pricetype 03.
<Price>
<PriceType>01</PriceType>
<PriceAmount>32.42920000000000</PriceAmount>
<CurrencyCode>ARS</CurrencyCode>
</Price>
<Price>
<PriceType>03</PriceType>
<PriceAmount>32.42920000000000</PriceAmount>
<CurrencyCode>ARS</CurrencyCode>
</Price>
<Price>
<PriceType>41</PriceType>
<PriceAmount>32.42920000000000</PriceAmount>
<CurrencyCode>ARS</CurrencyCode>
</Price>
IF (
SUBSTRING_INDEX([CSV_COL(7)],'|',1)='03',
SUBSTRING_INDEX(SUBSTRING_INDEX([CSV_COL(7)],'|',2),'|',-1),
IF (
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX([CSV_COL(7)],'|',3),'|',-2),'|',-1)='03',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX([CSV_COL(7)],'|',4),'|',-3),'|',-2),'|',-1),
iF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX([CSV_COL(7)],'|',5),'|',-4),'|',-3),'|',-2),'|',-1)='03',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX([CSV_COL(7)],'|',6),'|',-5),'|',-4),'|',-3),'|',-2),'|',-1),
0)
))