Xslt-processor gives back top-results on one dataset and no results on another

hello and good day dear xml-friends,

i am new to xml so do not bear with me for the questions... i am currently making some tests with an xslt-processor - I ve got an script that runs nicely on one test-dataset - and gives back good and valid results and contrary to this behaviour i get back silly and dumb results if i run the same script - note: i get back a csv-formatted file with 2 MB that contains only tabstops... funny but true...

so here my script is:

if i run this xslt-code on the following test-dataset i get only bad bad results - only tabstops... nothing more... what causes this errors. note - i get better results if i run the code againgst the second dataset .- see far below... and see the results at the end of this inital posting....