Hello Chris, At the beginning, I though that my approach was the gone one but after some discussions with my team members, the objectives are clearer. An XML Schema Definition file is written where some criteria regarding the table to be evaluated (SAS table or XML File) must met . For example, imagine in Table A (provided by another service), variable sex, obs=122 is missing. IF the fact that this observation is missing in not critical based on the criteria of the XSD file the we accept the dataset otherwise an error report must be written who contains all the information for the observation # 122. Same thing imagine in this Table A, based on the XSD file that var10 should be numeric and contains 9 number like a phone number, and for some reason we don't know, observation 425, contains only 6 number. Then this observation should be added to the error report with observation 122, and so on. At the end, if the sas table is error free based on the XSD file, then we go to the next step the transformation to the XML type. Otherwise, a sas table is provided containing all the observations (complete line) who contains errors. I hope with those clarifications you will be able to direct me toward a nice solution. Regards,
... View more