09-29-2015 11:14 AM
I need to export multiples tables SAS to a single xml archive.
I'm looking for something like this:
<SXLEMAP name="AUTO_GEN" version="2.1">
<TABLE description="table1" name="table1">
<TABLE description="table2" name="table1">
But, it doens't work.
Someone can help me?
09-29-2015 11:46 AM - edited 09-29-2015 11:47 AM
According to the doc
Export an XML document from a SAS data set by using the XMLMap that was created to import the XML document.
|Restriction:||The engine supports exporting from one SAS data set only.|
So using a XMLMap only one table can be written as an XML
However you can use the DATA Step with its BY group processing capabilites to write out the desired XML structure.
10-02-2015 10:13 AM
Thank you for your time.
Was useful know that xmlmap has no suport for export multiple sas datasets.
I wrote a set of %macros to build my xml file.
Thank you Bruno_SAS again.