<?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: ods html proc report how to set an ID for table, header and body? in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-html-proc-report-how-to-set-an-ID-for-table-header-and-body/m-p/543813#M22520</link>
    <description>Hi,&lt;BR /&gt;post-process the HTML file with a DATA step program means that I have to repeat it for about&lt;BR /&gt;50,000 reports in Web Portal for the same reason,&lt;BR /&gt;The Bank I work with is going to kill me,&lt;BR /&gt;if I can not do that in SAS ODS style It is a lot more&lt;BR /&gt;correct to do it with Vbscript.&lt;BR /&gt;That is why I've asked the guy that knows how,&lt;BR /&gt;to send me his solution, and I'm steel waiting for him....&lt;BR /&gt;Surely I preferred to do it with SAS ODS but it seems that you have no solution for the this purpose.&lt;BR /&gt;The main reason for this problem is to find a way&lt;BR /&gt;to freeze header titles in html report in IE11&lt;BR /&gt;and not with Comatible mode or using JQUERY&lt;BR /&gt;which is impossible in our internet Zone.&lt;BR /&gt;I think I have the way of getting it for IE11&lt;BR /&gt;in HTML4 / HTML5 without any additions,&lt;BR /&gt;I'm steel struggling with it since July 2017&lt;BR /&gt;Please look at my open case: SAS no. 7612193400. (I haven't received an answer.. yet.)&lt;BR /&gt;Thanks very much for your answer I need Help&lt;BR /&gt;Ilan&lt;BR /&gt;</description>
    <pubDate>Sun, 17 Mar 2019 16:14:34 GMT</pubDate>
    <dc:creator>arbel</dc:creator>
    <dc:date>2019-03-17T16:14:34Z</dc:date>
    <item>
      <title>ods html proc report how to set an ID for table, header and body?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-html-proc-report-how-to-set-an-ID-for-table-header-and-body/m-p/328248#M17810</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;perhaps it's a&amp;nbsp;stupid question, but I'm new to SAS and did not find a solution for that:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I tell PROC REPORT to produce a html output with a&amp;nbsp;given table-id, header-id and body-id? Or a given class?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I only found information about giving a cell a html-id.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm looking for a parameter for PROC REPORT like ID=ABC or CLASS=XYZ and result&amp;nbsp;should be&lt;/P&gt;&lt;P&gt;&amp;lt;table class="xyz" id="table_ABC"&amp;nbsp;summary="Procedure Report: Detailed and/or summarized report"&amp;gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;thead id="thead_ABC"&amp;gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&amp;lt;tbody id="tbody_ABC"&amp;gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;thank you very much in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 28 Jan 2017 19:49:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-html-proc-report-how-to-set-an-ID-for-table-header-and-body/m-p/328248#M17810</guid>
      <dc:creator>defaz</dc:creator>
      <dc:date>2017-01-28T19:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: ods html proc report how to set an ID for table, header and body?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-html-proc-report-how-to-set-an-ID-for-table-header-and-body/m-p/328256#M17811</link>
      <description>&lt;P&gt;If you sort your data according to (i.e., BY) some variable or set of variables (e.g., sex if using sashelp.class), and use the same by statement in your proc report, then you can use the #byvall parameter (e.g., title1 "Gender = #byvall"'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;HTH,&lt;/P&gt;
&lt;P&gt;Art, CEO, AnalystFinder.com&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 28 Jan 2017 21:53:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-html-proc-report-how-to-set-an-ID-for-table-header-and-body/m-p/328256#M17811</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2017-01-28T21:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: ods html proc report how to set an ID for table, header and body?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-html-proc-report-how-to-set-an-ID-for-table-header-and-body/m-p/328494#M17830</link>
      <description>&lt;P&gt;Perhaps a bit fragile and requiring a good understanding of the target destination but the RAW function in conjunction with Escapechar allows you to specify raw code for a destination. You would likely need to create what I think you are asking for in a break statement with BEFORE or AFTER as needed in a Style option.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2017 16:19:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-html-proc-report-how-to-set-an-ID-for-table-header-and-body/m-p/328494#M17830</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-01-30T16:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: ods html proc report how to set an ID for table, header and body?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-html-proc-report-how-to-set-an-ID-for-table-header-and-body/m-p/330115#M17872</link>
      <description>&lt;P&gt;thank you for your answers. I came up with&amp;nbsp;a client-side solution by&amp;nbsp;setting the html-id by javascript after document creation.&lt;/P&gt;&lt;P&gt;But I will keep your advices in mind for similar tasks in the future.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2017 08:29:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-html-proc-report-how-to-set-an-ID-for-table-header-and-body/m-p/330115#M17872</guid>
      <dc:creator>defaz</dc:creator>
      <dc:date>2017-02-06T08:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: ods html proc report how to set an ID for table, header and body?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-html-proc-report-how-to-set-an-ID-for-table-header-and-body/m-p/330202#M17873</link>
      <description>&lt;P&gt;Hi, there are some options you can work with HTMLCLASS=, HTMLID=, and HTMLSTYLE=, as described here: &lt;A href="https://support.sas.com/rnd/base/ods/templateFAQ/Template_csstyle.html#htmlclass" target="_blank"&gt;https://support.sas.com/rnd/base/ods/templateFAQ/Template_csstyle.html#htmlclass&lt;/A&gt; and&lt;BR /&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/odsadvug/69833/HTML/default/viewer.htm#p0xi2cygmfk0wkn1ei625zq5r488.htm#p13k3f4bzdz5fln1c9qjg5tm69dp" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/odsadvug/69833/HTML/default/viewer.htm#p0xi2cygmfk0wkn1ei625zq5r488.htm#p13k3f4bzdz5fln1c9qjg5tm69dp&lt;/A&gt;&lt;BR /&gt;and here's an example of using HTMLCLASS, HTMLID and ANCHOR=&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/7112i071840CDA302C8D7/image-size/original?v=1.0&amp;amp;px=-1" alt="use_HTMLCLASS_HTMLID.png" title="use_HTMLCLASS_HTMLID.png" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;cynthia&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2017 15:14:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-html-proc-report-how-to-set-an-ID-for-table-header-and-body/m-p/330202#M17873</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2017-02-06T15:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: ods html proc report how to set an ID for table, header and body?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-html-proc-report-how-to-set-an-ID-for-table-header-and-body/m-p/543230#M22507</link>
      <description>&lt;P&gt;Please send me your solution for adding Id= in the THEAD and the TBODY&lt;/P&gt;&lt;P&gt;I need exactly the same idea,&lt;/P&gt;&lt;P&gt;Thanks very much for your help&lt;/P&gt;&lt;P&gt;Ilan&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2019 15:58:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-html-proc-report-how-to-set-an-ID-for-table-header-and-body/m-p/543230#M22507</guid>
      <dc:creator>arbel</dc:creator>
      <dc:date>2019-03-14T15:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: ods html proc report how to set an ID for table, header and body?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-html-proc-report-how-to-set-an-ID-for-table-header-and-body/m-p/543270#M22508</link>
      <description>Hi:&lt;BR /&gt;  Not sure I understand what you mean. I posted the code in the screen shot in the posting from 02-06-2017. &lt;BR /&gt;Cynthia</description>
      <pubDate>Thu, 14 Mar 2019 17:51:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-html-proc-report-how-to-set-an-ID-for-table-header-and-body/m-p/543270#M22508</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2019-03-14T17:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: ods html proc report how to set an ID for table, header and body?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-html-proc-report-how-to-set-an-ID-for-table-header-and-body/m-p/543420#M22509</link>
      <description>&lt;P&gt;Thanks very much for your immediate answer,&lt;/P&gt;&lt;P&gt;I have already noticed your answer from 02-06-2017 and I realized the answer for the table&lt;/P&gt;&lt;P&gt;but I need to add Id="name" to the specific&amp;nbsp;tags &amp;lt;thead&amp;gt; and also for &amp;lt;tbody&amp;gt; .&lt;/P&gt;&lt;P&gt;Look forward to hear from you and best regards.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2019 06:49:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-html-proc-report-how-to-set-an-ID-for-table-header-and-body/m-p/543420#M22509</guid>
      <dc:creator>arbel</dc:creator>
      <dc:date>2019-03-15T06:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: ods html proc report how to set an ID for table, header and body?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-html-proc-report-how-to-set-an-ID-for-table-header-and-body/m-p/543562#M22510</link>
      <description>Hi:&lt;BR /&gt;  I do not believe you can change the thead or tbody attributes from within a style override, such as I show for PROC REPORT. &lt;BR /&gt;&lt;BR /&gt;  The only ways I can think of to do this would be to post-process the HTML file with a DATA step program to modify thead and tbody tags and add the ID= attribute or to alter one of the HTML tagset templates to provide an ID= for the tags.&lt;BR /&gt;&lt;BR /&gt;  Since many of the markup destinations have been written in LUA, I'm not sure whether it is possible to modify the HTML tagset template to add ID=. So that is a question for Tech Support about whether it is possible.&lt;BR /&gt; &lt;BR /&gt;Cynthia</description>
      <pubDate>Fri, 15 Mar 2019 14:42:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-html-proc-report-how-to-set-an-ID-for-table-header-and-body/m-p/543562#M22510</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2019-03-15T14:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: ods html proc report how to set an ID for table, header and body?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-html-proc-report-how-to-set-an-ID-for-table-header-and-body/m-p/543813#M22520</link>
      <description>Hi,&lt;BR /&gt;post-process the HTML file with a DATA step program means that I have to repeat it for about&lt;BR /&gt;50,000 reports in Web Portal for the same reason,&lt;BR /&gt;The Bank I work with is going to kill me,&lt;BR /&gt;if I can not do that in SAS ODS style It is a lot more&lt;BR /&gt;correct to do it with Vbscript.&lt;BR /&gt;That is why I've asked the guy that knows how,&lt;BR /&gt;to send me his solution, and I'm steel waiting for him....&lt;BR /&gt;Surely I preferred to do it with SAS ODS but it seems that you have no solution for the this purpose.&lt;BR /&gt;The main reason for this problem is to find a way&lt;BR /&gt;to freeze header titles in html report in IE11&lt;BR /&gt;and not with Comatible mode or using JQUERY&lt;BR /&gt;which is impossible in our internet Zone.&lt;BR /&gt;I think I have the way of getting it for IE11&lt;BR /&gt;in HTML4 / HTML5 without any additions,&lt;BR /&gt;I'm steel struggling with it since July 2017&lt;BR /&gt;Please look at my open case: SAS no. 7612193400. (I haven't received an answer.. yet.)&lt;BR /&gt;Thanks very much for your answer I need Help&lt;BR /&gt;Ilan&lt;BR /&gt;</description>
      <pubDate>Sun, 17 Mar 2019 16:14:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-html-proc-report-how-to-set-an-ID-for-table-header-and-body/m-p/543813#M22520</guid>
      <dc:creator>arbel</dc:creator>
      <dc:date>2019-03-17T16:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: ods html proc report how to set an ID for table, header and body?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-html-proc-report-how-to-set-an-ID-for-table-header-and-body/m-p/543830#M22521</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; When I look up that track,&amp;nbsp;7612193400, I see that that subject was listed as (highlights are mine):&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;How to freeze table headers in &lt;FONT color="#FF00FF"&gt;HTML5&lt;/FONT&gt; for IE11 by using &lt;FONT color="#FF00FF"&gt;SAS 9.3 ODS&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I did not get from your original post that using ID= was needed to freeze table headers, or that you were interested in HTML5 or that you only had SAS 9.3. Based on your original posting it seemed you wanted to use PROC REPORT to add ID= to &amp;lt;thead&amp;gt; and &amp;lt;tbody&amp;gt; elements of the HTML page, based on this question from the post:&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #333333; font-family: HelevticaNeue-light, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #f3f3f3; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;"How can I tell PROC REPORT to produce a html output with a&amp;nbsp;given table-id, header-id and body-id? Or a given class?" &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I do not have SAS 9.3 to experiment with. And, as I remember, HTML5 was first available in SAS 9.4, so I'm not sure about how you're going to generate HTML5 in SAS 9.3. Also, since HTML5 is a Lua-based destination, that means there is NOT a tagset template to modify, so my previous answer would have been possible (to modify the tagset template) IF you were using HTML4, but not correct, if you are asking about HTML5.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; My suggestions were to either use a DATA step program or to modify a tagset template for HTML4.Neither of my suggestions were related to PROC REPORT and unfortunately, neither of my suggestions were at all related to freezing table headers or making the table body scroll. When I look at the w3schools.com site on CSS, it looks like they explain scrolling with CSS and the overflow: property. It also looks like they add the overflow property to a &amp;lt;div&amp;gt; tag, not a &amp;lt;thead&amp;gt; or &amp;lt;tbody&amp;gt; tag. &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Even if I did come up with an example to add ID= to &amp;lt;thead&amp;gt; and &amp;lt;tbody&amp;gt; tags, it would not be in HTML5, I would only be able to try in HTML4. And since HTML5 is a Lua destination, any HTML4 example would not do you any good. So there's not any utility in something that will not work in the version of SAS that you have or produce what you ultimately say you want.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I've never worked with scrolling tables in HTML much, so I'm out of suggestions.&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 17 Mar 2019 19:54:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-html-proc-report-how-to-set-an-ID-for-table-header-and-body/m-p/543830#M22521</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2019-03-17T19:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: ods html proc report how to set an ID for table, header and body?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-html-proc-report-how-to-set-an-ID-for-table-header-and-body/m-p/543930#M22524</link>
      <description>Hi Cinthia,&lt;BR /&gt;I really appreciate your detailed answer,&lt;BR /&gt;all my efforts are to create massive Html reports with Html. and actually it's not important if Html4 or Html5 for this purpose as long as it works !!!!&lt;BR /&gt;I am using now the old evaluation relative vbscript commands such as Z-index in Compatible mode to achieve this purpose and it's working, and it is similar to the solution advised by SAS Support, however this works only in when defined with compatibility to IE7 in the web portal (and also inside the Html report).&lt;BR /&gt;I am looking for a better solution to replace this temporary way by using HTML5 or new advanced Vbscript tools, and I think I finally approach to this point after struggling with it for more then a year,&lt;BR /&gt;I also searched for soulutions in the Internet, but it seems that the only way found so far is to use Jquery and Js.files (this way is a problem in our Bank site.)&lt;BR /&gt;I have created my own solution in vb but it requires id="" as I have mentioned earlier to you. I thought it is possible to handle it with SAS Proc Template. I still have a way to replace it with vbscript and I hope to reach this target shortly.&lt;BR /&gt;It's really frustrating and surprising that this critical fact of fixed header title in tables in IE11 is not supported by Microsoft any more and no user solution found in SAS Communities for it. (as in Excel Environment)&lt;BR /&gt;Thanks very much for your help and concern.&lt;BR /&gt;Best Wishes,&lt;BR /&gt;Ilan</description>
      <pubDate>Mon, 18 Mar 2019 10:34:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-html-proc-report-how-to-set-an-ID-for-table-header-and-body/m-p/543930#M22524</guid>
      <dc:creator>arbel</dc:creator>
      <dc:date>2019-03-18T10:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: ods html proc report how to set an ID for table, header and body?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-html-proc-report-how-to-set-an-ID-for-table-header-and-body/m-p/544016#M22526</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I only have SAS 9.4M5 to test with. I don't know whether this will work in 9.3 or not. Here's what I came up with for adding an ID= to &amp;lt;thead&amp;gt; and &amp;lt;tbody&amp;gt; output using a TAGSET template.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tagset_add_ID_attr.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/28017i692A196D3639DE5C/image-size/large?v=v2&amp;amp;px=999" role="button" title="tagset_add_ID_attr.png" alt="tagset_add_ID_attr.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This same approach will NOT work for HTML5 for the reasons previously noted.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this gets you closer to your goal. The syntax for TAGSET templates (or Markup destination templates) is an event driven syntax. I touched on TAGSET templates briefly in this paper: &lt;A href="https://support.sas.com/resources/papers/proceedings09/227-2009.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings09/227-2009.pdf&lt;/A&gt; .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; If you have more questions about TAGSET templates, you'll have to work with Tech Support as your best resource.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2019 15:34:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-html-proc-report-how-to-set-an-ID-for-table-header-and-body/m-p/544016#M22526</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2019-03-18T15:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: ods html proc report how to set an ID for table, header and body?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-html-proc-report-how-to-set-an-ID-for-table-header-and-body/m-p/764485#M25271</link>
      <description>&lt;P&gt;Use the procedure option STYLE(&amp;lt;location&amp;gt;)=[&lt;STRONG&gt;tagattr='ID="MY_ID"'&lt;/STRONG&gt;] to set a TABLE ID.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- Proc PRINT use STYLE(table)&lt;/P&gt;
&lt;P&gt;- Proc REPORT use STYLE(report)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods html file='class.html';
  proc print  data=sashelp.class style (table) = [tagattr='&lt;STRONG style="background: yellow;"&gt;id="MyId"&lt;/STRONG&gt;'];
  proc report data=sashelp.class style (report) = [tagattr='&lt;STRONG style="background: yellow;"&gt;id="MyId#2"&lt;/STRONG&gt;'];
  run;
ods html close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Will produce html source containing&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;&amp;lt;table class="table" &lt;STRONG style="background: yellow;"&gt;id="MyId"&lt;/STRONG&gt; cellspacing="0" cellpadding="5" rules="all" frame="box" bordercolor="#C1C1C1"&lt;BR /&gt; summary="Procedure Print: Data Set SASHELP.CLASS"&amp;gt;
&lt;/CODE&gt;/pre&amp;gt;&lt;/PRE&gt;
&lt;P&gt;and&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;&amp;lt;table class="table" &lt;STRONG style="background: yellow;"&gt;id="MyId#2"&lt;/STRONG&gt; cellspacing="0" cellpadding="5" rules="all" frame="box" bordercolor="#C1C1C1"&lt;BR /&gt; summary="Procedure Report: Detailed and/or summarized report"&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Aug 2021 15:40:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-html-proc-report-how-to-set-an-ID-for-table-header-and-body/m-p/764485#M25271</guid>
      <dc:creator>RichardDeVen</dc:creator>
      <dc:date>2021-08-27T15:40:35Z</dc:date>
    </item>
  </channel>
</rss>

