<?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 anchor statement in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-html-anchor-statement/m-p/17388#M3538</link>
    <description>Hi&lt;BR /&gt;
The ANCHOR= option creates numbered NAME attributes that all start with the same prefix string...so IDX1,IDX2, IDX3 or PILOT1, PILOT2, or PILOT3.&lt;BR /&gt;
&lt;BR /&gt;
To do what you want to do (have each NAME attribute be a different city), you would need to move into the world of SAS Macro processing and in addition, investigate how to append content to an HTML file using the NO_TOP_MATTER and NO_BOTTOM_MATTER sub options.&lt;BR /&gt;
&lt;BR /&gt;
However since you can probably predict what by group will get which IDX#, do you really need this level of control???&lt;BR /&gt;
&lt;BR /&gt;
Cynthia</description>
    <pubDate>Thu, 06 May 2010 21:11:44 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2010-05-06T21:11:44Z</dc:date>
    <item>
      <title>ods html anchor statement</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-html-anchor-statement/m-p/17387#M3537</link>
      <description>Instead of using IDX (eg IDX1, IDX2, etc) as an anchor I would like to use the values of the "city" variable (eg avalon, azusa, fort irwin, etc).&lt;BR /&gt;
How do I do this?&lt;BR /&gt;
&lt;BR /&gt;
ods html path='C:\Documents and Settings\Output\'&lt;BR /&gt;
		 body='cityinfo.html' &lt;BR /&gt;
		 anchor='IDX1'&lt;BR /&gt;
title1 j=c "#byline";&lt;BR /&gt;
options nobyline;&lt;BR /&gt;
proc print data=test noobs label;&lt;BR /&gt;
	by city;   &lt;BR /&gt;
	var day zip;&lt;BR /&gt;
run;</description>
      <pubDate>Thu, 06 May 2010 18:15:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-html-anchor-statement/m-p/17387#M3537</guid>
      <dc:creator>gzr2mz39</dc:creator>
      <dc:date>2010-05-06T18:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: ods html anchor statement</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-html-anchor-statement/m-p/17388#M3538</link>
      <description>Hi&lt;BR /&gt;
The ANCHOR= option creates numbered NAME attributes that all start with the same prefix string...so IDX1,IDX2, IDX3 or PILOT1, PILOT2, or PILOT3.&lt;BR /&gt;
&lt;BR /&gt;
To do what you want to do (have each NAME attribute be a different city), you would need to move into the world of SAS Macro processing and in addition, investigate how to append content to an HTML file using the NO_TOP_MATTER and NO_BOTTOM_MATTER sub options.&lt;BR /&gt;
&lt;BR /&gt;
However since you can probably predict what by group will get which IDX#, do you really need this level of control???&lt;BR /&gt;
&lt;BR /&gt;
Cynthia</description>
      <pubDate>Thu, 06 May 2010 21:11:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-html-anchor-statement/m-p/17388#M3538</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-05-06T21:11:44Z</dc:date>
    </item>
  </channel>
</rss>

