Desktop productivity for business analysts and programmers

creating a Template SAS Data set using XML Schema Definition File

Reply
Regular Contributor
Posts: 167

creating a Template SAS Data set using XML Schema Definition File

Hello,

 

Is it possible to create a Template SAS Data Set using an XML Schema Definition file.

Regards,

Alain

 

Super User
Posts: 23,937

Re: creating a Template SAS Data set using XML Schema Definition File

You've asked this a few times in slightly different variations. Since the answers are not what you want, it may be best to contact SAS Tech Support directly and ask. It's the good thing about paying license and support fees.
Regular Contributor
Posts: 167

Re: creating a Template SAS Data set using XML Schema Definition File

Yes, it is true and I apologize for that.

First I have worked with XML files few years ago mostly with Excel and programing in VBA.

 

Secondly, I have very little of experience how to deal with xml file in SAS.

 

Thirdly, my colleague asked me at the beginning just to take a SAS data set and to transform it in xml file.

Few days after, it want an xml file with a precise schema.  Now it is possible to have it trough the xml mapper.

 

Today it is something else....

With the time, it idea and the work I have to do become clearer.

 

Finally I have found a paper on the web where the author is doing exactly what my colleague would like to, except the author start from a SAS data set and complementary information to create his template.  This template is use in his procedure to validate data set.

 

At the office, the have produce an XML Schema Definition file and has put constraints in it regarding the dataset to be validated before going into transformation. Is it the best approach.  I don't know.

 

So what I have in mind, it is to start from the XSD file to make the Template SAS Data set and to continue with the proposed procedure by the author I have found.

 

I hope you understand the situation I am dealing with and hope that you will give me some help.

Regards,

Alain

 

 

Ask a Question
Discussion stats
  • 2 replies
  • 65 views
  • 0 likes
  • 2 in conversation