<?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: Is it possible to include PROC GPLOT output in XML file? in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Is-it-possible-to-include-PROC-GPLOT-output-in-XML-file/m-p/217988#M14258</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; By Microsoft design, TAGSETS.EXCELXP form of Spreadsheet Markup Language XML -- so if your question is whether you can GPLOT output specifically into that output from ODS, the answer is NO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; If you read this Blog post by Chris Hemedinger, you will see that the NEW destination (ODS EXCEL) will support graphics. &lt;A href="http://blogs.sas.com/content/sasdummy/2014/08/29/experimenting-with-ods-excel-to-create-spreadsheets-from-sas/" title="http://blogs.sas.com/content/sasdummy/2014/08/29/experimenting-with-ods-excel-to-create-spreadsheets-from-sas/"&gt;http://blogs.sas.com/content/sasdummy/2014/08/29/experimenting-with-ods-excel-to-create-spreadsheets-from-sas/&lt;/A&gt; Code is in the blog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 May 2015 14:54:23 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2015-05-21T14:54:23Z</dc:date>
    <item>
      <title>Is it possible to include PROC GPLOT output in XML file?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Is-it-possible-to-include-PROC-GPLOT-output-in-XML-file/m-p/217986#M14256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have some SAS Graphics created from PROC GPLOT. I also have created an .xml containing a PROC REPORT output via ODS TAGSETS.EXCELXP. Is it possible to do either:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Include the graphic in the XML file (similar to the appearance when you paste a graphic into an Excel file)&lt;/LI&gt;&lt;LI&gt;Include a link in the XML file to the graphics which are written to an .html file&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is possible, would you please be kind enough to provide an example or link to documentation? Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 13:01:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Is-it-possible-to-include-PROC-GPLOT-output-in-XML-file/m-p/217986#M14256</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2015-05-21T13:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to include PROC GPLOT output in XML file?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Is-it-possible-to-include-PROC-GPLOT-output-in-XML-file/m-p/217987#M14257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, at the risk of being proved wrong, I don't think it is possible.&amp;nbsp; The reason is that tagsets.excelxp doesn't create an Excel file.&amp;nbsp; It only creates a marked up text file which Excel then interprets.&amp;nbsp; Now it maybe with the 9.4 libname to Excel they have added functionality, can't comment on this as have not used it.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the ZIP file (which is what xlsx is), the picture is stored in its internal structure.&amp;nbsp; There are additional XML files create which link this to the work sheet and how to display it.&amp;nbsp; So if you know how to manually build XLSX structure documents, then its possible to add in your pictures and generate the required XML linkage.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would think the effort is far too much though.&amp;nbsp; IMO I wouldn't use Excel for anything.&amp;nbsp; But if you are stuck and have to do this, then you could also consider exporting all your component parts to a folder:&lt;/P&gt;&lt;P&gt;data.csv&lt;/P&gt;&lt;P&gt;graph1.png&lt;/P&gt;&lt;P&gt;grph2.png&lt;/P&gt;&lt;P&gt;etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then have an empty Excel workbook which contains your formatted output requirement file.&amp;nbsp; Then, either in that file or another (if you don't want your output file macro enabled), have a VBA macro which opens the files from that directory and pastes the information into your template output file.&amp;nbsp; Hope this is clear.&amp;nbsp; So instead of pushing your output from SAS, have Excel drag it in.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 13:31:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Is-it-possible-to-include-PROC-GPLOT-output-in-XML-file/m-p/217987#M14257</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-05-21T13:31:48Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to include PROC GPLOT output in XML file?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Is-it-possible-to-include-PROC-GPLOT-output-in-XML-file/m-p/217988#M14258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; By Microsoft design, TAGSETS.EXCELXP form of Spreadsheet Markup Language XML -- so if your question is whether you can GPLOT output specifically into that output from ODS, the answer is NO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; If you read this Blog post by Chris Hemedinger, you will see that the NEW destination (ODS EXCEL) will support graphics. &lt;A href="http://blogs.sas.com/content/sasdummy/2014/08/29/experimenting-with-ods-excel-to-create-spreadsheets-from-sas/" title="http://blogs.sas.com/content/sasdummy/2014/08/29/experimenting-with-ods-excel-to-create-spreadsheets-from-sas/"&gt;http://blogs.sas.com/content/sasdummy/2014/08/29/experimenting-with-ods-excel-to-create-spreadsheets-from-sas/&lt;/A&gt; Code is in the blog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 14:54:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Is-it-possible-to-include-PROC-GPLOT-output-in-XML-file/m-p/217988#M14258</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2015-05-21T14:54:23Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to include PROC GPLOT output in XML file?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Is-it-possible-to-include-PROC-GPLOT-output-in-XML-file/m-p/217989#M14259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Cynthia, this seems like it will work well for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 14:57:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Is-it-possible-to-include-PROC-GPLOT-output-in-XML-file/m-p/217989#M14259</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2015-05-21T14:57:03Z</dc:date>
    </item>
  </channel>
</rss>

