Date: Mon, 23 Sep 2002 11:41:12 +0200
Reply-To: WIELKI Andre <wielki@INED.FR>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: WIELKI Andre <wielki@INED.FR>
Subject: Re: Cleaning-Up Contents in ODS
In-Reply-To: <db6a7eff.0209200942.689e022c@posting.google.com>
Content-Type: text/plain; charset="iso-8859-1"; format=flowed
Jon,
I suppose that your html-sas code
is
a proc tabulate or report
with a by upon year and mdname?
Acting upon Toc can be so difficult if what you want goes outside the
classical possibilities that i sometimes prefer to scratch everything of in
Acrobat (full product)
and rewrite the text as hyperlink directly inside TOC with Acrobat
But from inside SAS
The difficulty is that you cannot suppress the Year-Mdname level without
loosing
the dependent line and thus hyperlink to specifics parts of the body.
I think the best solution for your goal in ods but this leads you to modify
your sas code
of proc
is to
use many (one for each procedure call)
ods proclabel " text with putting here also your HREF= #IDXn accepted
like html code ";
but to rewrite your code without a by but with a macro to iterate your
report or tabulate
and use of the ods facilities to empty all the second or third lines that
appear in TOC for each output.
HTH
Andre
If anybody has another sas solution,it would be interresting to see it
on the list.
At 10:42 20/09/2002 -0700, you wrote:
>Using ODS HTML yields the following in the contents window.
>
>Table of Contents
>
>Inpatient Admissions by Physician
>ˇYEAR=2000 MDNAME=MD_A
> Detailed and/or summarized report <-- hyperlink
>ˇYEAR=2000 MDNAME=MD_B
> Detailed and/or summarized report <-- hyperlink
>ˇYEAR=2000 MDNAME=MD_C
> Detailed and/or summarized report <-- hyperlink
>.
>.
>.
>where "Detailed and/or summarized report" is a hyperlink.
>
>
>What I would like is the following:
>
>Table of Contents
>
>
>Inpatient Pediatric Admissions by Physician
>ˇ2000 Admissions for MD_A <-- hyperlink
>.2000 Admissions for MD_B <-- hyperlink
>ˇ2000 Admissions for MD_C <-- hyperlink
>.
>.
>.
>
>Is there a way to modify template to accomplish this?
>Thanks,
>Jon
___________
WIELKI Andre
INED - Service Informatique
133 Bd Davout,
75 980 Paris Cedex 20
FRANCE
Tel: 01 56 06 21 54