<?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 An interesting behavior of proc REPORT in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/An-interesting-behavior-of-proc-REPORT/m-p/513#M225</link>
    <description>Hello everyone,&lt;BR /&gt;
&lt;BR /&gt;
I have faced an interesting problem – I want to append some html tags to raw data in a SAS table. The purpose of this is that I want to make values of ACROSS variable to appear in different colors in HTML output generated by proc REPORT. &lt;BR /&gt;
&lt;BR /&gt;
Within DATA STEP I change values :&lt;BR /&gt;
‘value1’ ą ‘&lt;FONT color="”red”"&gt;value1&lt;/FONT&gt;’&lt;BR /&gt;
‘value2’ ą ‘&lt;FONT color="”blue”"&gt;value2&lt;/FONT&gt;’&lt;BR /&gt;
and so on.&lt;BR /&gt;
&lt;BR /&gt;
The interesting behavior of proc REPORT is that it replaces special symbols ‘&amp;lt;‘ and ‘&amp;gt;’ with &amp;lt; and &amp;gt; in HTML output. So, instead of seeing ‘value1’ in red and value2 in blue through internet browser, I see the whole expression ‘&lt;FONT color="”red”"&gt;value1&lt;/FONT&gt;’ and ‘&lt;FONT color="”blue”"&gt;value2&lt;/FONT&gt;’.&lt;BR /&gt;
&lt;BR /&gt;
Is it possible to set up proc REPORT or ODS options so that it would not replace special html symbols with their appropriate html codes ? &lt;BR /&gt;
&lt;BR /&gt;
Thank you.</description>
    <pubDate>Sun, 30 Apr 2006 16:15:18 GMT</pubDate>
    <dc:creator>sarunas</dc:creator>
    <dc:date>2006-04-30T16:15:18Z</dc:date>
    <item>
      <title>An interesting behavior of proc REPORT</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/An-interesting-behavior-of-proc-REPORT/m-p/513#M225</link>
      <description>Hello everyone,&lt;BR /&gt;
&lt;BR /&gt;
I have faced an interesting problem – I want to append some html tags to raw data in a SAS table. The purpose of this is that I want to make values of ACROSS variable to appear in different colors in HTML output generated by proc REPORT. &lt;BR /&gt;
&lt;BR /&gt;
Within DATA STEP I change values :&lt;BR /&gt;
‘value1’ ą ‘&lt;FONT color="”red”"&gt;value1&lt;/FONT&gt;’&lt;BR /&gt;
‘value2’ ą ‘&lt;FONT color="”blue”"&gt;value2&lt;/FONT&gt;’&lt;BR /&gt;
and so on.&lt;BR /&gt;
&lt;BR /&gt;
The interesting behavior of proc REPORT is that it replaces special symbols ‘&amp;lt;‘ and ‘&amp;gt;’ with &amp;lt; and &amp;gt; in HTML output. So, instead of seeing ‘value1’ in red and value2 in blue through internet browser, I see the whole expression ‘&lt;FONT color="”red”"&gt;value1&lt;/FONT&gt;’ and ‘&lt;FONT color="”blue”"&gt;value2&lt;/FONT&gt;’.&lt;BR /&gt;
&lt;BR /&gt;
Is it possible to set up proc REPORT or ODS options so that it would not replace special html symbols with their appropriate html codes ? &lt;BR /&gt;
&lt;BR /&gt;
Thank you.</description>
      <pubDate>Sun, 30 Apr 2006 16:15:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/An-interesting-behavior-of-proc-REPORT/m-p/513#M225</guid>
      <dc:creator>sarunas</dc:creator>
      <dc:date>2006-04-30T16:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: An interesting behavior of proc REPORT</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/An-interesting-behavior-of-proc-REPORT/m-p/514#M226</link>
      <description>Try adding the following to your PROC REPORT statement:&lt;BR /&gt;
&lt;BR /&gt;
proc report data=dsn nowd&lt;BR /&gt;
 style(column)=[protectspecialchars=off];</description>
      <pubDate>Mon, 01 May 2006 12:12:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/An-interesting-behavior-of-proc-REPORT/m-p/514#M226</guid>
      <dc:creator>Kathryn_SAS</dc:creator>
      <dc:date>2006-05-01T12:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: An interesting behavior of proc REPORT</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/An-interesting-behavior-of-proc-REPORT/m-p/515#M227</link>
      <description>Thank you Kathryn a lot.. it worked &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
with best regards,&lt;BR /&gt;
Sarunas</description>
      <pubDate>Wed, 03 May 2006 07:26:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/An-interesting-behavior-of-proc-REPORT/m-p/515#M227</guid>
      <dc:creator>sarunas</dc:creator>
      <dc:date>2006-05-03T07:26:30Z</dc:date>
    </item>
  </channel>
</rss>

