Hello -
I have a dataset that contains text wrapped in HTML coding in one of the columns. I'd like to run an ODS PDF Proc Report on top of this data, and have the text render in the manner the HTML code would have it render. Is that possible?
An example dataset woudl be below. In this example, I'd like the "text" column to show up in the PDF and maintain any bold/underline/bulleted lists as the HTML coding would dictate.
Any thoughts would be helpful!!
data work.html_text;
infile datalines delimiter='~';
format id 5.0 savedby text $5000.;
input id savedby $ text $;
datalines;
1~Smith~<!DOCTYPE html><html><head></head><body><p>This is Paragraph One</p><p>This is paragraph 2</p></body></html>
2~Johnson~<!DOCTYPE html><html><head></head><body><p>This is HTML text</p></body></html>
;
run;
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Select SAS Training centers are offering in-person courses. View upcoming courses for: