<?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: proc export to generate xml file in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/proc-export-to-generate-xml-file/m-p/795415#M255140</link>
    <description>&lt;P&gt;LIBNAME XMLV2 most likely.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname myXml xmlv2 '/home/fkhurshed/Demo1.xml';

proc copy in=sashelp out=myXml;
select class;
run;

libname myXml;



&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/engxml/n0x0j8m1awgbcxn1pz3a3lc3tta4.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/engxml/n0x0j8m1awgbcxn1pz3a3lc3tta4.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you need to have a custom map, see the left hand side of the docs on how to export using an xml map.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/381837"&gt;@Jose7&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi experts,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a sas table like "xxx.sas7bdat", and i want to generate a xml file. can i do this directly using proc export?&lt;/P&gt;
&lt;P&gt;proc export data=personal.xxx&lt;BR /&gt;outfile="/sasdatos/xml_file"&lt;/P&gt;
&lt;P&gt;dbms= ???&amp;nbsp; &amp;nbsp; replace;&lt;/P&gt;
&lt;P&gt;quit;&lt;/P&gt;
&lt;P&gt;or i have to do other step and then generate the xml file ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thks!&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 10 Feb 2022 03:15:18 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2022-02-10T03:15:18Z</dc:date>
    <item>
      <title>proc export to generate xml file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-export-to-generate-xml-file/m-p/795404#M255135</link>
      <description>&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a sas table like "xxx.sas7bdat", and i want to generate a xml file. can i do this directly using proc export?&lt;/P&gt;&lt;P&gt;proc export data=personal.xxx&lt;BR /&gt;outfile="/sasdatos/xml_file"&lt;/P&gt;&lt;P&gt;dbms= ???&amp;nbsp; &amp;nbsp; replace;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;or i have to do other step and then generate the xml file ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thks!&lt;/P&gt;</description>
      <pubDate>Thu, 10 Feb 2022 01:07:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-export-to-generate-xml-file/m-p/795404#M255135</guid>
      <dc:creator>Jose7</dc:creator>
      <dc:date>2022-02-10T01:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: proc export to generate xml file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-export-to-generate-xml-file/m-p/795415#M255140</link>
      <description>&lt;P&gt;LIBNAME XMLV2 most likely.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname myXml xmlv2 '/home/fkhurshed/Demo1.xml';

proc copy in=sashelp out=myXml;
select class;
run;

libname myXml;



&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/engxml/n0x0j8m1awgbcxn1pz3a3lc3tta4.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/engxml/n0x0j8m1awgbcxn1pz3a3lc3tta4.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you need to have a custom map, see the left hand side of the docs on how to export using an xml map.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/381837"&gt;@Jose7&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi experts,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a sas table like "xxx.sas7bdat", and i want to generate a xml file. can i do this directly using proc export?&lt;/P&gt;
&lt;P&gt;proc export data=personal.xxx&lt;BR /&gt;outfile="/sasdatos/xml_file"&lt;/P&gt;
&lt;P&gt;dbms= ???&amp;nbsp; &amp;nbsp; replace;&lt;/P&gt;
&lt;P&gt;quit;&lt;/P&gt;
&lt;P&gt;or i have to do other step and then generate the xml file ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thks!&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Feb 2022 03:15:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-export-to-generate-xml-file/m-p/795415#M255140</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-02-10T03:15:18Z</dc:date>
    </item>
  </channel>
</rss>

