<?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 markup xhtml and id for element th and td in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-markup-xhtml-and-id-for-element-th-and-td/m-p/45146#M5964</link>
    <description>Daniele,&lt;BR /&gt;
Did this answer what you were seeking? With Jen Harper, I did a paper and presentation at WUSS 2006 that may interest you:Information for All: Why and How to Make Accessible SAS Output - &lt;BR /&gt;
&lt;A href="http://www.sascommunity.org/wiki/Information_for_All:_Why_and_How_to_Make_Accessible_SAS_Output" target="_blank"&gt;http://www.sascommunity.org/wiki/Information_for_All:_Why_and_How_to_Make_Accessible_SAS_Output&lt;/A&gt;  &lt;BR /&gt;
&lt;BR /&gt;
I'd like to compare notes, if possible.&lt;BR /&gt;
&lt;BR /&gt;
Lisa</description>
    <pubDate>Tue, 21 Oct 2008 14:43:32 GMT</pubDate>
    <dc:creator>BI_Marketer</dc:creator>
    <dc:date>2008-10-21T14:43:32Z</dc:date>
    <item>
      <title>ods markup xhtml and id for element th and td</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-markup-xhtml-and-id-for-element-th-and-td/m-p/45144#M5962</link>
      <description>Hi to all,&lt;BR /&gt;
I've started to use the XHTML template described and provided here:&lt;BR /&gt;
&lt;A href="http://support.sas.com/rnd/base/ods/odsmarkup/xhtml.txt" target="_blank"&gt;http://support.sas.com/rnd/base/ods/odsmarkup/xhtml.txt&lt;/A&gt;&lt;BR /&gt;
and with a bit of customization I've already rendered the pages I generate XHTML strict compliant.&lt;BR /&gt;
However, I'm looking forward something more difficult, which I need: I've to generate tables (so from proc tabulate to the xhtml through ods) that must be readable also through a screen reader.&lt;BR /&gt;
What is suggested is that the elements  of a complex table should have an id and a the td he correspondent header attribute...so it's always possible to associate which element to which column.&lt;BR /&gt;
Is that feasible? Any idea at all?&lt;BR /&gt;
Thanks&lt;BR /&gt;
&lt;BR /&gt;
Daniele</description>
      <pubDate>Thu, 11 Sep 2008 10:47:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-markup-xhtml-and-id-for-element-th-and-td/m-p/45144#M5962</guid>
      <dc:creator>DanieleTiles</dc:creator>
      <dc:date>2008-09-11T10:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: ods markup xhtml and id for element th and td</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-markup-xhtml-and-id-for-element-th-and-td/m-p/45145#M5963</link>
      <description>Hi, Daniele:&lt;BR /&gt;
  So does that mean you want to have this:&lt;B&gt;&amp;lt;th id="xxx"&amp;gt;Hdr1&amp;lt;/th&amp;gt;&lt;/B&gt; &lt;BR /&gt;
generated by your XHTML tagset instead of a simple: &lt;B&gt;&amp;lt;th&amp;gt;Hdr1&amp;lt;/th&amp;gt; &lt;/B&gt;???&lt;BR /&gt;
&lt;BR /&gt;
One way to insert an ID= string into your Markup Language output tags is to use the HTMLID= style attribute. However, the tagset that you're modifying or creating must have a DEFINE EVENT block for putting the HTMLID= value in the output file.&lt;BR /&gt;
&lt;BR /&gt;
For example, the HTML3 destination automatically puts the HTMLID value into the HTML output file as an ID= option in order to link the ID= value to a style attribute or a Javascript action. (see the output from the code below. Note that you must view the HTML source in Notepad to see the ID= value.)&lt;BR /&gt;
&lt;BR /&gt;
So if you were going to generate a custom tagset to get ID= into your output, you might look at the way PROC TABULATE syntax and PROC PRINT syntax inserts the HTMLID= value into this form of HTML output. Perhaps this will give you a way to decide how you're going to further change the event in your custom tagset template to get the ID= option that you want into your output file. &lt;BR /&gt;
&lt;BR /&gt;
If you are planning to use JavaScript with your eventual XHTML output file, you might find this topic of interest:&lt;BR /&gt;
&lt;A href="http://support.sas.com/rnd/base/ods/templateFAQ/jscript.html" target="_blank"&gt;http://support.sas.com/rnd/base/ods/templateFAQ/jscript.html&lt;/A&gt; (please note that this topic is discussing the insertion of JavaScript via the use of a STYLE template and not a TAGSET template.)&lt;BR /&gt;
&lt;BR /&gt;
For more help and some examples of modifying a TAGSET template, refer to this site:&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/odsug/59523/HTML/default/a002565723.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/odsug/59523/HTML/default/a002565723.htm&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
If you are dealing with Regulation 508 accessibility requirements, then this site might be helpful:&lt;BR /&gt;
&lt;A href="http://support.sas.com/kb/24/312.html" target="_blank"&gt;http://support.sas.com/kb/24/312.html&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
cynthia&lt;BR /&gt;
&lt;BR /&gt;
[pre]&lt;BR /&gt;
*** the code to test;&lt;BR /&gt;
*** although this doesn't show ID= with XHTML, it does;&lt;BR /&gt;
*** show how you specify HTMLID= and where each syntax change affects;&lt;BR /&gt;
*** the HTML file. By examining this default HTML output you will get;&lt;BR /&gt;
*** some idea of how/where you need to make changes in your XHTML;&lt;BR /&gt;
*** tagset template to surface HTMLID= in your XHTML output file.;&lt;BR /&gt;
                     &lt;BR /&gt;
ods html3 file='testid_ht3.html' style=sasweb;&lt;BR /&gt;
  proc tabulate data=sashelp.class &lt;BR /&gt;
    style={htmlid="ethel"};&lt;BR /&gt;
    title 'tabulate title';&lt;BR /&gt;
    class age / style={htmlid="xxx"};&lt;BR /&gt;
    classlev age /style={htmlid="ricky"};&lt;BR /&gt;
    var height / style={htmlid="yyy"};&lt;BR /&gt;
    table age all,&lt;BR /&gt;
          height*(mean n*f=3.)&lt;BR /&gt;
    / style={htmlid="lucy"};&lt;BR /&gt;
  run;&lt;BR /&gt;
                           &lt;BR /&gt;
  proc print data=sashelp.class&lt;BR /&gt;
    style(table)={htmlid="lucy"}&lt;BR /&gt;
    style(obsheader)={htmlid="oh"}&lt;BR /&gt;
    style(obs)={htmlid="xxx"}&lt;BR /&gt;
    style(header)={htmlid="yyy"}&lt;BR /&gt;
    style(data)={htmlid="fred"};&lt;BR /&gt;
    title 'print title';&lt;BR /&gt;
    var name ;&lt;BR /&gt;
    var age height/&lt;BR /&gt;
      style(header)={htmlid="ricky"}&lt;BR /&gt;
      style(data)={htmlid="ethel"};&lt;BR /&gt;
  run;&lt;BR /&gt;
ods _all_ close;&lt;BR /&gt;
&lt;BR /&gt;
[/pre]</description>
      <pubDate>Thu, 11 Sep 2008 19:53:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-markup-xhtml-and-id-for-element-th-and-td/m-p/45145#M5963</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2008-09-11T19:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: ods markup xhtml and id for element th and td</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-markup-xhtml-and-id-for-element-th-and-td/m-p/45146#M5964</link>
      <description>Daniele,&lt;BR /&gt;
Did this answer what you were seeking? With Jen Harper, I did a paper and presentation at WUSS 2006 that may interest you:Information for All: Why and How to Make Accessible SAS Output - &lt;BR /&gt;
&lt;A href="http://www.sascommunity.org/wiki/Information_for_All:_Why_and_How_to_Make_Accessible_SAS_Output" target="_blank"&gt;http://www.sascommunity.org/wiki/Information_for_All:_Why_and_How_to_Make_Accessible_SAS_Output&lt;/A&gt;  &lt;BR /&gt;
&lt;BR /&gt;
I'd like to compare notes, if possible.&lt;BR /&gt;
&lt;BR /&gt;
Lisa</description>
      <pubDate>Tue, 21 Oct 2008 14:43:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-markup-xhtml-and-id-for-element-th-and-td/m-p/45146#M5964</guid>
      <dc:creator>BI_Marketer</dc:creator>
      <dc:date>2008-10-21T14:43:32Z</dc:date>
    </item>
  </channel>
</rss>

