<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: XML Mapper exporting multiple tables in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/XML-Mapper-exporting-multiple-tables/m-p/228214#M267902</link>
    <description>&lt;P&gt;Thank you for your time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Was useful know that xmlmap has no suport for export multiple sas datasets.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wrote a set of %macros to build my xml file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you Bruno_SAS again.&lt;/P&gt;</description>
    <pubDate>Fri, 02 Oct 2015 14:13:05 GMT</pubDate>
    <dc:creator>airton</dc:creator>
    <dc:date>2015-10-02T14:13:05Z</dc:date>
    <item>
      <title>XML Mapper exporting multiple tables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/XML-Mapper-exporting-multiple-tables/m-p/227683#M267900</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I need to export&amp;nbsp;multiples tables SAS to&amp;nbsp;a single xml archive.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm looking for something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;SXLEMAP name="AUTO_GEN" version="2.1"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;OUTPUT&amp;gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&amp;lt;TABLEREF name="table1"/&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;SPAN&gt;&amp;lt;TABLEREF name="table2"/&amp;gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&amp;lt;/OUTPUT&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;TABLE description="&lt;SPAN&gt;table1&lt;/SPAN&gt;" name="&lt;SPAN&gt;table1&lt;/SPAN&gt;"&amp;gt;&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;&amp;lt;/TABLE&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;TABLE description="&lt;SPAN&gt;table2&lt;/SPAN&gt;" name="&lt;SPAN&gt;table1&lt;/SPAN&gt;"&amp;gt;&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;&amp;lt;/TABLE&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, it doens't work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Someone can help me?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2015 15:14:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/XML-Mapper-exporting-multiple-tables/m-p/227683#M267900</guid>
      <dc:creator>airton</dc:creator>
      <dc:date>2015-09-29T15:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: XML Mapper exporting multiple tables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/XML-Mapper-exporting-multiple-tables/m-p/227699#M267901</link>
      <description>&lt;P&gt;According to the &lt;A href="http://support.sas.com/documentation/cdl/en/engxml/64990/HTML/default/viewer.htm#n0kt78umyfvt91n1d5fyqamp3za8.htm" target="_self"&gt;doc&lt;/A&gt;&lt;/P&gt;
&lt;H1 class="xis-title"&gt;Elements for Exporting&lt;/H1&gt;
&lt;P class="xis-shortDescription"&gt;Export an XML document from a SAS data set by using the XMLMap that was created to import the XML document.&lt;/P&gt;
&lt;TABLE class="xis-summary"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD class="xis-restriction"&gt;&lt;FONT size="3"&gt;&lt;STRONG&gt;Restriction:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD class="xis-summaryValue"&gt;&lt;FONT size="3"&gt;&lt;STRONG&gt;The engine supports exporting from one SAS data set only.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So using a XMLMap only one table can be written as an XML&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However you can use the DATA Step with its BY group processing capabilites to write out the desired XML structure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bruno&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2015 15:47:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/XML-Mapper-exporting-multiple-tables/m-p/227699#M267901</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2015-09-29T15:47:17Z</dc:date>
    </item>
    <item>
      <title>Re: XML Mapper exporting multiple tables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/XML-Mapper-exporting-multiple-tables/m-p/228214#M267902</link>
      <description>&lt;P&gt;Thank you for your time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Was useful know that xmlmap has no suport for export multiple sas datasets.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wrote a set of %macros to build my xml file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you Bruno_SAS again.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Oct 2015 14:13:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/XML-Mapper-exporting-multiple-tables/m-p/228214#M267902</guid>
      <dc:creator>airton</dc:creator>
      <dc:date>2015-10-02T14:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: XML Mapper exporting multiple tables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/XML-Mapper-exporting-multiple-tables/m-p/744238#M267903</link>
      <description>&lt;P&gt;This seems so short sided.&amp;nbsp; A XML document in general should be expected to have more complexity than a flat file.&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 17:03:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/XML-Mapper-exporting-multiple-tables/m-p/744238#M267903</guid>
      <dc:creator>PhilC</dc:creator>
      <dc:date>2021-05-27T17:03:31Z</dc:date>
    </item>
    <item>
      <title>Re: XML Mapper exporting multiple tables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/XML-Mapper-exporting-multiple-tables/m-p/744243#M267904</link>
      <description>oh, PROC XSL, I'm learning about this.  This maybe part of this ideal of make a more complex XML file.</description>
      <pubDate>Thu, 27 May 2021 17:15:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/XML-Mapper-exporting-multiple-tables/m-p/744243#M267904</guid>
      <dc:creator>PhilC</dc:creator>
      <dc:date>2021-05-27T17:15:54Z</dc:date>
    </item>
  </channel>
</rss>

