<?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 How do I attach a TAGATTR to a TITLE? in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-do-I-attach-a-TAGATTR-to-a-TITLE/m-p/62688#M7379</link>
    <description>I'm using the ExcelXP tagset v1.86 with embedded_titles='yes'.&lt;BR /&gt;
&lt;BR /&gt;
I don't want the title cell to be merged with the columns after it.  The documentation implies that that won't happen if I have specified NOCENTER, but it does.  Perhaps the tagattr MERGEACROSS='no' would do what I want, but how do I specify a tagattr for a title?&lt;BR /&gt;
&lt;BR /&gt;
Also, is there a way to specify that this tagattr will be applied to all cells, regardless of what creates them?</description>
    <pubDate>Fri, 21 Nov 2008 20:43:28 GMT</pubDate>
    <dc:creator>JackHamilton</dc:creator>
    <dc:date>2008-11-21T20:43:28Z</dc:date>
    <item>
      <title>How do I attach a TAGATTR to a TITLE?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-do-I-attach-a-TAGATTR-to-a-TITLE/m-p/62688#M7379</link>
      <description>I'm using the ExcelXP tagset v1.86 with embedded_titles='yes'.&lt;BR /&gt;
&lt;BR /&gt;
I don't want the title cell to be merged with the columns after it.  The documentation implies that that won't happen if I have specified NOCENTER, but it does.  Perhaps the tagattr MERGEACROSS='no' would do what I want, but how do I specify a tagattr for a title?&lt;BR /&gt;
&lt;BR /&gt;
Also, is there a way to specify that this tagattr will be applied to all cells, regardless of what creates them?</description>
      <pubDate>Fri, 21 Nov 2008 20:43:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-do-I-attach-a-TAGATTR-to-a-TITLE/m-p/62688#M7379</guid>
      <dc:creator>JackHamilton</dc:creator>
      <dc:date>2008-11-21T20:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: How do I attach a TAGATTR to a TITLE?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-do-I-attach-a-TAGATTR-to-a-TITLE/m-p/62689#M7380</link>
      <description>To put tagattr on a title you need use inline formatting.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
ods escapechar = '~';&lt;BR /&gt;
&lt;BR /&gt;
title = '~{style [tagattr="mergeacross;yes"]  Some title text };&lt;BR /&gt;
&lt;BR /&gt;
data test;&lt;BR /&gt;
  d1 = '1st data row'; output;&lt;BR /&gt;
  d1 = '2nd data row'; output;&lt;BR /&gt;
run;&lt;BR /&gt;
 &lt;BR /&gt;
ods listing close;&lt;BR /&gt;
 &lt;BR /&gt;
options topmargin=.5in bottommargin=.5in rightmargin=.18in leftmargin=.18in;&lt;BR /&gt;
 &lt;BR /&gt;
ods tagsets.excelxp file="t152.xls" style=journal&lt;BR /&gt;
  options(default_column_width='5,10,29,12,12,12,12,12,12,12,12,12' width_fudge='0.5'&lt;BR /&gt;
          embedded_titles='yes' print_footer_margin='.2' sheet_interval='none' sheet_name='sheet1'&lt;BR /&gt;
          pages_fitheight='50' pages_fitwidth='1' fittopage='yes'&lt;BR /&gt;
          frozen_headers='4' row_repeat='1-4' orientation='portrait' debug_level='-5');&lt;BR /&gt;
 &lt;BR /&gt;
proc print data=sashelp.shoes(obs=10);&lt;BR /&gt;
run;&lt;BR /&gt;
To give a tagattr on a title you need to use inline formatting.&lt;BR /&gt;
&lt;BR /&gt;
ods escapechar = '~';&lt;BR /&gt;
&lt;BR /&gt;
title ~{style [tagattr="mergeAcross:yes"]  some title text}&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Here is an example of using merge across elsewhere. &lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
title ;&lt;BR /&gt;
 &lt;BR /&gt;
proc report data=test nowd;&lt;BR /&gt;
  columns d1;&lt;BR /&gt;
  define d1 / '' style={tagattr="mergeAcross:yes"};&lt;BR /&gt;
run;&lt;BR /&gt;
 &lt;BR /&gt;
 &lt;BR /&gt;
ods tagsets.excelxp close;&lt;BR /&gt;
ods listing;</description>
      <pubDate>Mon, 24 Nov 2008 16:01:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-do-I-attach-a-TAGATTR-to-a-TITLE/m-p/62689#M7380</guid>
      <dc:creator>Eric_SAS</dc:creator>
      <dc:date>2008-11-24T16:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: How do I attach a TAGATTR to a TITLE?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-do-I-attach-a-TAGATTR-to-a-TITLE/m-p/62690#M7381</link>
      <description>The problem with inline formatting is that the text of the formatting will appear in LISTING output.  Is that fixed in 9.2?</description>
      <pubDate>Mon, 24 Nov 2008 18:18:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-do-I-attach-a-TAGATTR-to-a-TITLE/m-p/62690#M7381</guid>
      <dc:creator>JackHamilton</dc:creator>
      <dc:date>2008-11-24T18:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: How do I attach a TAGATTR to a TITLE?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-do-I-attach-a-TAGATTR-to-a-TITLE/m-p/62691#M7382</link>
      <description>Jack,&lt;BR /&gt;
&lt;BR /&gt;
  No, inline formatting shows up in Listing in SAS 9.2. &lt;BR /&gt;
&lt;BR /&gt;
-- David Kelley, SAS</description>
      <pubDate>Tue, 25 Nov 2008 14:37:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-do-I-attach-a-TAGATTR-to-a-TITLE/m-p/62691#M7382</guid>
      <dc:creator>David_SAS</dc:creator>
      <dc:date>2008-11-25T14:37:41Z</dc:date>
    </item>
  </channel>
</rss>

