Exports an information map in its XML representation.
Note:
If you use an external text editor to modify the XML
file after it has been exported, then the editor must encode the file
using the Unicode UTF-8 format in order for the INFOMAPS procedure
or SAS Information Map Studio to import it correctly.
specifies the location within the SAS folders tree
for the information map to export.
Required Argument
FILE=fileref
FILE="physical-location"
specifies an external
file to which to export an XML representation of the information map.
Note:If the specified external file already exists, it is
replaced.
Optional Arguments
INFOMAP "information-map-name"
specifies the name
of the information map to export.
Default:If you do not specify the INFOMAP option, the current
information map is exported.
MAPPATH="location"
specifies the location
within the SAS folders tree for the information map to export.
Details
Exporting fails if you
specify an information map name in the EXPORT statement but no location
has been specified. The location from which the information map is
exported is determined according to the following order of precedence:
The MAPPATH specified in the EXPORT statement
The MAPPATH specified in the NEW INFOMAP or UPDATE
INFOMAP statement
The MAPPATH specified in the PROC INFOMAPS statement
Examples
Example 1
/* Export an information map to a physical location. */
/* Note that the sample locations are operating system-specific. */
export infomap "my testmap"
file="c:\test\test.xml"
mappath="/Users/myUserID/My Folder";
Example 2
/* Export an information map to a fileref. */
filename xmlfile "c:\test\test.xml";
export infomap "my testmap"
file=xmlfile
mappath="/Users/myUserID/My Folder";