|
|||
|
Is it possible, in SAS (or elsewhere) to combine two working HTML
files into a single HTML file? For example, suppose at one time, I create a plot ods html file="first_output.html"; proc gplot data=sashelp.class; plot weight*age; run; quit; ods html close; Later, I create a 2nd plot ods html file="second_output.html"; proc gplot data=sashelp.class; plot height*age; run; quit; ods html close; Can I combine these two HTML files into a single HTML file? I realize that in this simple example, I could just re-write the code so as to produce a single HTML file. But in my real-world example, I have one program producing a complicate (and time consuming) plot in a HTML file, and a second program producing another complicated plot in a HTML file, and I would like to combine these into a single HTML file to send to my client. -- Paige Miller paige\dot\miller \at\ kodak\dot\com |
|
|
||||
|
||||
|
|
|
|||
|
|
|
|||
|
You could also look into GREPLAY which is something that I think does what you want, but I'm not 100% sure. Something that's been in my head to look into for a long time, but haven't gotten around to yet.
|
|
|||
|
On Feb 22, 12:15*pm, Reeza <fkhurs...@gmail.com> wrote:
> This what you're after? > > http://support.sas.com/kb/23/660.html I had already seen this and its not exactly what I am looking for. For this to work, as I understand it, you have to be prepared to issue the NO_BOTTOM_MATTER option on the first HTML file and the NO_TOP_MATTER option on the second HTML file. In my case, there are two complete HTML files sitting on a disk, each run by a different program at different times, each difficult (time consuming) to reproduce, and neither has the NO_TOP_MATTER or NO_BOTTOM_MATTER option because they need to exist as stand-alone HTML files (and I also want to combine them into a single file). I realize that what I am asking for may not be possible, or it may take large amounts of programming to strip out the parts I don't want in each file (if indeed I could figure out what parts need to be stripped out). Anyway, it sounds like there is no canned method of doing this. -- Paige Miller paige\dot\miller \at\ kodak\dot\com |
|
|||
|
On Feb 22, 12:17*pm, Reeza <fkhurs...@gmail.com> wrote:
> You could also look into GREPLAY which is something that I think does what you want, but I'm not 100% sure. Something that's been in my head to lookinto for a long time, but haven't gotten around to yet. GREPLAY would allow me to save the graphs and put them together, but not the HTML links embedded in the HTML file. If I used GREPLAY, the plots wouldn't be "clickable". -- Paige Miller paige\dot\miller \at\ kodak\dot\com |
|
|||
|
On Feb 22, 9:28*am, Paige Miller <paige.mil...@kodak.com> wrote:
> On Feb 22, 12:17*pm, Reeza <fkhurs...@gmail.com> wrote: > > > You could also look into GREPLAY which is something that I think does what you want, but I'm not 100% sure. Something that's been in my head to look into for a long time, but haven't gotten around to yet. > > GREPLAY would allow me to save the graphs and put them together, but > not the HTML links embedded in the HTML file. If I used GREPLAY, the > plots wouldn't be "clickable". > > -- > Paige Miller > paige\dot\miller \at\ kodak\dot\com How about make another html file and use iframe to bring in the other two? <html> <body> <iframe src="file://c:\temp\junk.html" height=400px width=400px> </iframe> <iframe src="file://c:\temp\report.html" height=400px width=400px> </iframe> </body> </html> |
|
|||
|
On Feb 22, 3:22*pm, Ya <huang8...@gmail.com> wrote:
> On Feb 22, 9:28*am, Paige Miller <paige.mil...@kodak.com> wrote: > > > On Feb 22, 12:17*pm, Reeza <fkhurs...@gmail.com> wrote: > > > > You could also look into GREPLAY which is something that I think doeswhat you want, but I'm not 100% sure. Something that's been in my head to look into for a long time, but haven't gotten around to yet. > > > GREPLAY would allow me to save the graphs and put them together, but > > not the HTML links embedded in the HTML file. If I used GREPLAY, the > > plots wouldn't be "clickable". > > > -- > > Paige Miller > > paige\dot\miller \at\ kodak\dot\com > > How about make another html file and use iframe to bring in the other > two? > > <html> > <body> > > <iframe src="file://c:\temp\junk.html" height=400px width=400px> > </iframe> > > <iframe src="file://c:\temp\report.html" height=400px width=400px> > </iframe> > > </body> > </html> Thanks! As always, when I get stumped, Ya and data _null_; have the answers! -- Paige Miller paige\dot\miller \at\ kodak\dot\com |
|
|||
|
Hi,
Try this... ods tagsets.htmlpanel file="test.html"; ods tagsets.htmlpanel event=row_panel(start); ods tagsets.htmlpanel event=column_panel(start); proc print data=sashelp.class;run; proc print data=sashelp.class;run; ods tagsets.htmlpanel event=column_panel(finish); proc gchart data=sashelp.class; hbar age / sumvar=height; run; ods tagsets.htmlpanel event=row_panel(finish); ods tagsets.htmlpanel close; Thanks, Shiva |
|
|||
|
On Feb 22, 11:12*pm, shiva <shiva.said...@gmail.com> wrote:
> Hi, > > Try this... > > ods tagsets.htmlpanel file="test.html"; > * *ods tagsets.htmlpanel event=row_panel(start); > * *ods tagsets.htmlpanel event=column_panel(start); > > * *proc print data=sashelp.class;run; > * *proc print data=sashelp.class;run; > > * *ods tagsets.htmlpanel event=column_panel(finish); > > * *proc gchart data=sashelp.class; > * * *hbar age / sumvar=height; > * *run; > > * *ods tagsets.htmlpanel event=row_panel(finish); > > * *ods tagsets.htmlpanel close; > > Thanks, > Shiva I don't understand this. I don't see how it solves the problem. -- Paige Miller paige\dot\miller \at\ kodak\dot\com |
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|