I want to export SAS Data to an XML file. Currently I am using SAS 9.1. I am using proc Template to export data to XML.
Can I use a DTD or XMLMap to export SAS Data to an XML file by eliminating a data step or proc Template if we migrate to SAS 9.2?
How do I migrate to SAS 9.2?
I really appreciate if you could provide me the information.
I am able to import the data from XML to SAS by using XMLMap.
Now I am trying to export the SAS Data to XML by using DTD or XMLMap.
It seems that I can't use DTD/XMLMap in SAS9.1 to export data to XML. With SAS9.1 I have to use proc Template.
Can I use DTD or XMLMap to export data to XML if I migrate to SAS9.2?
XMLMap functionality has the following enhancements for the XML92 engine nickname:
You can now export an XML document from a SAS data set using the XMLMap that was created to import the XML document. The XMLMap tells the XML engine how to map the SAS format (variables and observations) into the specific XML document structure. See Exporting XML Documents Using an XMLMap.
The information about the "pre-production" features and SAS 9.2 Phase 2 is found here: http://support.sas.com/documentation/cdl/en/whatsnew/62435/HTML/default/engxmlwhatsnew902.htm
where it says:
Note: Much of the XML92 engine functionality is preproduction for SAS 9.2. Contact SAS Technical Support for a list of cautions before using this engine in your production jobs.