Hi Cynthia...First of all thanks a lot for the response.
Below is the SAS code am using to set the hyperlink to the word "Professional":
filename seercode URL "http://www.bestsampleresume.com/resume-templates/sample-accounting-resume-template-1.html" debug lrecl=32767;
data html1(drop= v v1 rx1);
infile seercode truncover;
input @1 v $32767.;
format v1 v2 $32767.;
v1=htmldecode(v);
if substr(v1,1,3)='<p>' or substr(v1,1,3)='<B>' or
substr(v1,1,4)='<br>' or substr(v1,1,4)='</B>' or substr(v1,1,4)='<LI>' or substr(v1,1,8)='<CENTER>';
v2=v1;
rx1=prxparse("s/<(.|\n)*?>//");
call prxchange(rx1,-1,v2);/* Performs a pattern-matching replacement and -1 indicates replace all the pattern available */
if v2=' ' then delete;
run;
data html2;
length x $32767;
set html1;
x=tranwrd(v2,'Professional',cat('<a target=',"'_blank'",' href="http://en.wikipedia.org/wiki/Professional">Professional'));
run;
ods html body='C:\Documents and Settings\sasadm\Desktop\resume.html' style=minimal;
data _null_;
set html2;
file print;
put x;
run;
ods html close;
Thanks In Advance...
Solo
Message was edited by: Solo
... View more