<?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 combine ods html and ods markup in same html-output file? in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/combine-ods-html-and-ods-markup-in-same-html-output-file/m-p/25164#M716</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; One thing I'm not clear about in your example is why you are opening two destinations on the same file. Can you combine your text, link, and graph all under ODS HTML?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Mar 2012 16:09:53 GMT</pubDate>
    <dc:creator>DanH_sas</dc:creator>
    <dc:date>2012-03-08T16:09:53Z</dc:date>
    <item>
      <title>combine ods html and ods markup in same html-output file?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/combine-ods-html-and-ods-markup-in-same-html-output-file/m-p/25161#M713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use:&lt;/P&gt;&lt;P&gt;SAS Base 9.1&lt;/P&gt;&lt;P&gt;Linux Server&lt;/P&gt;&lt;P&gt;Interactive mode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to output a html-file which is later called by an other program. (This progam is not compatible with activex, so I can not use activex as device. That is why I use PNG.)&lt;/P&gt;&lt;P&gt;In this html-file there need to be 2 things:&lt;/P&gt;&lt;P&gt;1) a clickable link to an other file&lt;/P&gt;&lt;P&gt;2) a graph&lt;/P&gt;&lt;P&gt;I used this code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/&lt;/P&gt;&lt;P&gt;goptions DEV=PNG cback=white noborder;&lt;/P&gt;&lt;P&gt;ods html file="&amp;amp;export_path.&amp;amp;GraphName._&amp;amp;sitename_title_2..html";&lt;BR /&gt;ods html text="&amp;amp;titlestatement";&lt;/P&gt;&lt;P&gt;ods html text=&lt;SPAN style="color: #800080; font-size: 10pt; font-family: Courier New;"&gt;'&amp;lt;a HREF="file..."&amp;gt; click here &amp;lt;/a&amp;gt;'&lt;/SPAN&gt;&lt;BR /&gt;ods html close;ods markup&amp;nbsp;&amp;nbsp;&amp;nbsp; style=SASWEB&amp;nbsp;&amp;nbsp; path="&amp;amp;export_path" (URL=NOne)&amp;nbsp;&amp;nbsp; file="&amp;amp;GraphName._&amp;amp;sitename_title_2..html"&amp;nbsp;&amp;nbsp;&amp;nbsp; tagset=HTML4 ;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;proc gplot data = ...;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; where ...;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; plot ...;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;ods markup close;&lt;/P&gt;&lt;P&gt;/*-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that the output of the markup part overwrites the output of the html part. So i see my graph, but not my title and link.&lt;/P&gt;&lt;P&gt;Is there a way to add (not overwrite) the output from the markup part to the html part? Something like the file is kept open and completed in stead of overwritten?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other things I have tried:&lt;/P&gt;&lt;P&gt;a) no ods html. print link with title statement within ods markup. problem: link is not clickable. html code itself is printed literally.&lt;/P&gt;&lt;P&gt;b) no ods markup part. proc gplot within ods html. For device PNG (or GIF), the graph is not readable.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="failed_graph.PNG" class="jive-image" src="https://communities.sas.com/legacyfs/online/1525_failed_graph.PNG" /&gt;&lt;/P&gt;&lt;P&gt;It works for activex but that I can not use because my client program is not compatible with activex.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What can I do to have a clickable link and a PNG-graph in one outputfile?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2012 15:39:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/combine-ods-html-and-ods-markup-in-same-html-output-file/m-p/25161#M713</guid>
      <dc:creator>barbier</dc:creator>
      <dc:date>2012-03-08T15:39:27Z</dc:date>
    </item>
    <item>
      <title>combine ods html and ods markup in same html-output file?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/combine-ods-html-and-ods-markup-in-same-html-output-file/m-p/25162#M714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With dev=png, you get 2 files ... a png file with the graph, and an html file that displays the graph and overlays the clickable links, etc.&amp;nbsp; Using this 2-file technique, you can use the 'link=' option on the title statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is an example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://robslink.com/SAS/democd48/gasoline_prices.htm"&gt;http://robslink.com/SAS/democd48/gasoline_prices.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://robslink.com/SAS/democd48/gasoline_prices_info.htm"&gt;http://robslink.com/SAS/democd48/gasoline_prices_info.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In 9.1, (if I recall correctly) dev=activex or dev=java are the only alternatives to produce graphs with a link capability in a single file.&amp;nbsp; Caveats: With dev=activex, the person viewing the output must have the SAS/Graph Activex control installed in order to view the output.&amp;nbsp; With dev=java, the person viewing the graph would need to be able to get to the java jar files to view the output.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that SAS 9.1 is a very old version, and there have been many improvements since then - I'd encourage you to upgrade! &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;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2012 15:52:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/combine-ods-html-and-ods-markup-in-same-html-output-file/m-p/25162#M714</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2012-03-08T15:52:33Z</dc:date>
    </item>
    <item>
      <title>combine ods html and ods markup in same html-output file?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/combine-ods-html-and-ods-markup-in-same-html-output-file/m-p/25163#M715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In SAS 9.3, you have 2 additional choices for producing SAS/Graph output in a single file, and have link/drilldown capability:&amp;nbsp; dev=pdf, and dev=svg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the 2nd bulleted item in Chapter 18 (SAS/Graph), p. 153 in this SAS 9.3 "What's New" document:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/whatsnew/64209/PDF/default/whatsnew.pdf"&gt;http://support.sas.com/documentation/cdl/en/whatsnew/64209/PDF/default/whatsnew.pdf&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2012 15:58:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/combine-ods-html-and-ods-markup-in-same-html-output-file/m-p/25163#M715</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2012-03-08T15:58:13Z</dc:date>
    </item>
    <item>
      <title>combine ods html and ods markup in same html-output file?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/combine-ods-html-and-ods-markup-in-same-html-output-file/m-p/25164#M716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; One thing I'm not clear about in your example is why you are opening two destinations on the same file. Can you combine your text, link, and graph all under ODS HTML?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2012 16:09:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/combine-ods-html-and-ods-markup-in-same-html-output-file/m-p/25164#M716</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2012-03-08T16:09:53Z</dc:date>
    </item>
  </channel>
</rss>

