I have done it as follow: First I made a batchfile where I replace the <> and remove the " in the XML file. Then a do in LB with csvinput read the file. I searc for the value I want and find it it in the next valua (i+1). I can work with it like this. I am now al little bit stuckling with the dates see the other topic about dates.