I am trying to print the following XML as
PLCO_ID is A-006884-2
Trt_numc is 103
Trt_familyc is 1
Trt_days is 2513
Neoadjuvant is 0
PLCO_ID is A-008288-4
Trt_numc is 104
Trt_familyc is 1
Trt_days is 331
Neoadjuvant is 0
Etc. etc.
However, I have been getting an error. I believe my loop is correct as I need to use an implicit cursor for this particular problem. I think I may have to use rpad() in my print to have it print out correctly but I'm not sure. The code is attached below. Thanks in advance for the help!
The XML code is this