<?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: SAS to generate XML output in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-to-generate-XML-output/m-p/217704#M14242</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The png you have posted looks to me more like its an XSD file, i.e. an XML Schema Document?&amp;nbsp; Its pretty definately not an output for Excel.&amp;nbsp; Clarify what it is your trying to do.&amp;nbsp; &lt;/P&gt;&lt;P&gt;You can read/write XML using XMLMAP and the xml mapper tool provided by SAS: &lt;A class="active_link" href="http://support.sas.com/downloads/package.htm?pid=713" style="font-size: 10pt; line-height: 1.5em;" title="http://support.sas.com/downloads/package.htm?pid=713"&gt;SAS Downloads: SAS XML Mapper&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I haven't used them myself so if there any good or not I cant tell.&lt;/P&gt;&lt;P&gt;Second option is to learn to create your own tagset definition.&amp;nbsp; You can find templates/tagsets/styles if you right click on Results in SAS, and select templates.&amp;nbsp; Navigate until you find the Excelbase tagset.&amp;nbsp; You can open it and look at that for the amount of work involved.&lt;/P&gt;&lt;P&gt;Finally, if its simple, and your seems to be, you may consider just creating a dataset with all the tags etc. and just writing that straight out as a text file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Apr 2015 17:35:39 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2015-04-08T17:35:39Z</dc:date>
    <item>
      <title>SAS to generate XML output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-to-generate-XML-output/m-p/217702#M14240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi SAS Experts,&lt;/P&gt;&lt;P&gt;The attached document shows the required XML output/tags that I need to generate.&lt;/P&gt;&lt;P&gt;I read about different methods like PROC XSL, ODS Tagsets, XMLMap and wonder which one is the most suitable.&lt;/P&gt;&lt;P&gt;Can you advise?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/10653i921D7E7CDD2A1221/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="xml_req.png" title="xml_req.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 15:49:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-to-generate-XML-output/m-p/217702#M14240</guid>
      <dc:creator>metallon</dc:creator>
      <dc:date>2015-04-08T15:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: SAS to generate XML output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-to-generate-XML-output/m-p/217703#M14241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this as a template:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods _all_ close;&lt;/P&gt;&lt;P&gt;ods tagsets.ExcelXP path='PATH' file='OUTPUT.xml'&lt;/P&gt;&lt;P&gt;style=printer;&lt;/P&gt;&lt;P&gt;ods tagsets.ExcelXP options(sheet_name='SHEET NAME ONE' AUTOFILTER = 'ALL');&lt;/P&gt;&lt;P&gt;proc print data=FILE1 noobs;&lt;/P&gt;&lt;P&gt;var _all_;run;quit;&lt;/P&gt;&lt;P&gt;ods tagsets.ExcelXP options(sheet_name='SHEET NAME TWO' AUTOFILTER = 'ALL');&lt;/P&gt;&lt;P&gt;proc print data=FILE2 noobs;&lt;/P&gt;&lt;P&gt;var _all_;run;quit;&lt;/P&gt;&lt;P&gt;ods tagsets.ExcelXP close;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 16:49:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-to-generate-XML-output/m-p/217703#M14241</guid>
      <dc:creator>Steelers_In_DC</dc:creator>
      <dc:date>2015-04-08T16:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: SAS to generate XML output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-to-generate-XML-output/m-p/217704#M14242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The png you have posted looks to me more like its an XSD file, i.e. an XML Schema Document?&amp;nbsp; Its pretty definately not an output for Excel.&amp;nbsp; Clarify what it is your trying to do.&amp;nbsp; &lt;/P&gt;&lt;P&gt;You can read/write XML using XMLMAP and the xml mapper tool provided by SAS: &lt;A class="active_link" href="http://support.sas.com/downloads/package.htm?pid=713" style="font-size: 10pt; line-height: 1.5em;" title="http://support.sas.com/downloads/package.htm?pid=713"&gt;SAS Downloads: SAS XML Mapper&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I haven't used them myself so if there any good or not I cant tell.&lt;/P&gt;&lt;P&gt;Second option is to learn to create your own tagset definition.&amp;nbsp; You can find templates/tagsets/styles if you right click on Results in SAS, and select templates.&amp;nbsp; Navigate until you find the Excelbase tagset.&amp;nbsp; You can open it and look at that for the amount of work involved.&lt;/P&gt;&lt;P&gt;Finally, if its simple, and your seems to be, you may consider just creating a dataset with all the tags etc. and just writing that straight out as a text file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 17:35:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-to-generate-XML-output/m-p/217704#M14242</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-04-08T17:35:39Z</dc:date>
    </item>
    <item>
      <title>Re: SAS to generate XML output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-to-generate-XML-output/m-p/217705#M14243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you're right, that does look like a schema definition. The XML Mapper would definitely be the way. I always like to ask for a "working" XML file to accompany the schema, this lets me see any data transformations that I might need to make with the SAS data that will be used to create the XML file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 18:35:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-to-generate-XML-output/m-p/217705#M14243</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2015-04-08T18:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: SAS to generate XML output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-to-generate-XML-output/m-p/217706#M14244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi SAS Experts,&lt;/P&gt;&lt;P&gt;Thanks for you hints. Yes indeed, it is the XSD file. I can´t really post the XML because&lt;/P&gt;&lt;P&gt;I havent generated it yet with SAS &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&amp;nbsp; That is the whole topic of this thread.&lt;/P&gt;&lt;P&gt;I have clarified what I want to do and it was not "reading XML" but generating i.e. writing XML.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can the XMLMAP deal with XML hiearchies like this one:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.w3schools.com/xml/nodetree.gif"&gt;http://www.w3schools.com/xml/nodetree.gif&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created this thread asking for help so I dont run with one specific way of doing things i.e. SAS XML Library&lt;/P&gt;&lt;P&gt;or PROC XSL and figuring out after days of work that I can´t deal with "complex" XML hierarchies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont need microsoft-specific-excel-xml but xml that works with my XSD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2015 08:19:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-to-generate-XML-output/m-p/217706#M14244</guid>
      <dc:creator>metallon</dc:creator>
      <dc:date>2015-04-09T08:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: SAS to generate XML output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-to-generate-XML-output/m-p/217707#M14245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will look into the XML Mapper.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for you hints. Yes indeed, it is the XSD file. I can´t really post the XML because&lt;/P&gt;&lt;P&gt;I havent generated it yet with SAS &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&amp;nbsp; That is the whole topic of this thread.&lt;/P&gt;&lt;P&gt;I have clarified what I want to do and it was not "reading XML" but generating i.e. writing XML.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can the XMLMAP deal with XML hiearchies like this one:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.w3schools.com/xml/nodetree.gif"&gt;http://www.w3schools.com/xml/nodetree.gif&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created this thread asking for help so I dont run with one specific way of doing things i.e. SAS XML Library&lt;/P&gt;&lt;P&gt;or PROC XSL and figuring out after days of work that I can´t deal with "complex" XML hierarchies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont need microsoft-specific-excel-xml but xml that works with my XSD.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2015 08:23:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-to-generate-XML-output/m-p/217707#M14245</guid>
      <dc:creator>metallon</dc:creator>
      <dc:date>2015-04-09T08:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: SAS to generate XML output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-to-generate-XML-output/m-p/217708#M14246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, apparently from SAS 9.2 XML Maps can be used to write out XML.&amp;nbsp; Again, not used it myself.&amp;nbsp; Am looking at exporting some data to XML in compliance with a Schema myself at the moment, best advice I can give currently is to get a proper XML editor, Oxygen or XML Fox.&amp;nbsp; They allow importing of delimited files, then create an XLST to transform the import data to XML.&amp;nbsp; It gives you the flexibility of XML, and you can run checks, queries etc. &lt;A href="http://www.rustemsoft.com/xmlscenar.asp" title="http://www.rustemsoft.com/xmlscenar.asp"&gt;http://www.rustemsoft.com/xmlscenar.asp&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2015 14:22:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-to-generate-XML-output/m-p/217708#M14246</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-04-09T14:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: SAS to generate XML output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-to-generate-XML-output/m-p/217709#M14247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi RW9,&lt;/P&gt;&lt;P&gt;Thanks for your feedback. Good that we have this forum to exchange the progress with exporting XML.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I open the XSD in SAS XML Mapper an error pops up saying Input length =1 but nothing&lt;/P&gt;&lt;P&gt;else happens. So seems to be OK to ignore.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I followed this paper (example 4) to export into XML but get this error:&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://support.sas.com/rnd/base/xmlengine/XMLtipsheet.pdf"&gt;https://support.sas.com/rnd/base/xmlengine/XMLtipsheet.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR:&amp;nbsp; Read Access Violation DATASTEP (2)&lt;/P&gt;&lt;P&gt;Exception occurred at (04715F8E)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*The XMLMap is needed to map the SAS data set &lt;/P&gt;&lt;P&gt;into a specific XML document structure rather&lt;/P&gt;&lt;P&gt;than a rectuangular one.*/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;libname out xmlv2 'R:\sas_xml\xxxxx.xml' &lt;/P&gt;&lt;P&gt;xmltype=xmlmap xmlmap='R:\sas_xml\sas_xmlmap.map';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data out.sample;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set positives;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2015 11:40:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-to-generate-XML-output/m-p/217709#M14247</guid>
      <dc:creator>metallon</dc:creator>
      <dc:date>2015-04-10T11:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: SAS to generate XML output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-to-generate-XML-output/m-p/217710#M14248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That looks like a case for SAS TS. Read Access Violation is a memory handling problem in the SAS system itself, which should not happen.&lt;/P&gt;&lt;P&gt;Basically all errors of this type have been repaired with a fix, if you look at the SAS knowledge base.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2015 11:45:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-to-generate-XML-output/m-p/217710#M14248</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2015-04-10T11:45:34Z</dc:date>
    </item>
    <item>
      <title>Re: SAS to generate XML output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-to-generate-XML-output/m-p/217711#M14249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello SAS Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have somehow avoided the Read Access Violation by cleaning up the data set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, after continued reading and experiments with the SAS XML Mapper I learned that&lt;/P&gt;&lt;P&gt;I have to specify a "Output" table within the XML MAP. However if I do that&lt;/P&gt;&lt;P&gt;the structure is not considered anymore and instead I see a flat hierarchy and not the XML&lt;/P&gt;&lt;P&gt;structure as it is defined in the XSD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone confirm that oberservation or am I on the wrong track?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data out.Results;&amp;nbsp;&amp;nbsp; /*XML Target space*/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; set work.xml_kom;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*SAS Dataset source*/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; rename PERIOD=Period&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; SPECIESNAME=SamplingType; &lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;!-- ############################################################ --&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;!-- 2015-05-07T09:06:06 --&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;!-- SAS XML Libname Engine Map --&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;!-- Generated by XML Mapper, 904000.0.0.20130522190000_v940 --&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;!-- ############################################################ --&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;SXLEMAP name="nrkp_xml_kom" version="2.1"&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- ############################################################ --&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;OUTPUT&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;TABLEREF name="Results"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/OUTPUT&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The actual path (as in the XML Mapper defined) is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;TABLE description="Period" name="Period"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;TABLE-PATH syntax="XPath"&amp;gt;/ResidueMessage/ResultMessage/Period&amp;lt;/TABLE-PATH&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;COLUMN class="ORDINAL" name="ResultMessage_ORDINAL"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;DESCRIPTION&amp;gt;ResultMessage_ORDINAL&amp;lt;/DESCRIPTION&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;INCREMENT-PATH beginend="BEGIN" syntax="XPath"&amp;gt;/ResidueMessage/ResultMessage&amp;lt;/INCREMENT-PATH&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;TYPE&amp;gt;numeric&amp;lt;/TYPE&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;DATATYPE&amp;gt;integer&amp;lt;/DATATYPE&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/COLUMN&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 07:14:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-to-generate-XML-output/m-p/217711#M14249</guid>
      <dc:creator>metallon</dc:creator>
      <dc:date>2015-05-07T07:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: SAS to generate XML output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-to-generate-XML-output/m-p/217712#M14250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like that the SAS XMLMapper created table&amp;nbsp;&amp;nbsp; &amp;lt;TABLE description="... for each hierarchy level and defined the path with &lt;/P&gt;&lt;P&gt; &amp;lt;TABLE-PATH . So far so good. with the following I can only write to ONE of those tables:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data out.SamplingType;&amp;nbsp;&amp;nbsp; /*XML Target space*/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; set work.xml_kom;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*SAS Dataset source*/ &lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got about 5. how can I set which dataset columns go to which table or field in my xmlmap?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 12:18:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-to-generate-XML-output/m-p/217712#M14250</guid>
      <dc:creator>metallon</dc:creator>
      <dc:date>2015-05-08T12:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: SAS to generate XML output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-to-generate-XML-output/m-p/217713#M14251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I spoke to SAS technical support. There is currently NO WAY to export into XML files with complex hierarchies using XML Mapper.&lt;/P&gt;&lt;P&gt;XML Mapper let´s you only export into a single table...which is not helpful. SAS tech support said that customers had to resolve to writing the XML document using PUT statements. Very bad news. I spent days trying to get my head around XML Mapper only to figure out that its not the right way &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2015 07:11:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-to-generate-XML-output/m-p/217713#M14251</guid>
      <dc:creator>metallon</dc:creator>
      <dc:date>2015-05-29T07:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: SAS to generate XML output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-to-generate-XML-output/m-p/217714#M14252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, doesn't really surprise me.&amp;nbsp; As I always suggest though, use the right tool for the job.&amp;nbsp; If your dealing with XML, use some proper XML tools (XML Fox is free).&amp;nbsp; &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2015 09:00:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-to-generate-XML-output/m-p/217714#M14252</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-05-29T09:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: SAS to generate XML output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-to-generate-XML-output/m-p/217715#M14253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I dont need a tool to look or validate XML documents, I got XML Spy. I need a way to write my SAS DataSet as XML validated through the XSD.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 08:08:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-to-generate-XML-output/m-p/217715#M14253</guid>
      <dc:creator>metallon</dc:creator>
      <dc:date>2015-06-01T08:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: SAS to generate XML output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-to-generate-XML-output/m-p/217716#M14254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Export your data to CSV.&amp;nbsp; Load both the XSD and the CSV into your XML Tool and export it to XML:&lt;/P&gt;&lt;P&gt;&lt;A href="https://scn.sap.com/thread/1227446" title="https://scn.sap.com/thread/1227446"&gt;How to convert Excel Sheet to XSD using XML SPY | SCN&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 08:19:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-to-generate-XML-output/m-p/217716#M14254</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-06-01T08:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: SAS to generate XML output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-to-generate-XML-output/m-p/217717#M14255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are going to engagne SAS consulting services to develop us a nice and neat custom ODS tagset.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2015 14:12:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-to-generate-XML-output/m-p/217717#M14255</guid>
      <dc:creator>metallon</dc:creator>
      <dc:date>2015-07-23T14:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: SAS to generate XML output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-to-generate-XML-output/m-p/534031#M22357</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I started using the newer 7.1 SAS EG and tried again to generate XML and then went back to using put statements within SAS trying to create a complex XML output manually as the mapper does to work for complexity with similar results in generation.&amp;nbsp;&amp;nbsp;I saw your suggestion on the other program “Fox” and wanted to state that I have had success with "Netbeans".&amp;nbsp;&amp;nbsp;&amp;nbsp; This XML tool allows me to input SAS output files and run them threw the NetBeans' coding generating XML output and load into a server that is very particular of the format (meaning one wrong line and failure).&amp;nbsp;&amp;nbsp;&amp;nbsp; This again lets me output from SAS a "Details file" (more line driven) and a "header file" (distinct counts and overall counts by portfolio / segment).&amp;nbsp;&amp;nbsp;&amp;nbsp; These two files merry up so to speak in&amp;nbsp;Netbeans&amp;nbsp;which output extensive XML.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;I have had success with generating&amp;nbsp;over 350 thousand rows for claims which&amp;nbsp;require counts from&amp;nbsp;the headers to the counts within the coding of the file.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;If anyone has had success with the newer versions let me know but for now it’s SAS to generate outputs and then use Netbeans.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;FYI:&amp;nbsp; I do wish SAS would either partner with a company with its tools to output complex XML or fix the mapper to generate something similar. Their past experience has been great with tools like Apache, Microsoft etc. &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Feb 2019 18:54:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-to-generate-XML-output/m-p/534031#M22357</guid>
      <dc:creator>jeffreyListed</dc:creator>
      <dc:date>2019-02-08T18:54:16Z</dc:date>
    </item>
  </channel>
</rss>

