I'm using a custom tagset I've created based on the htmlcss tagset. Inside a proc report I'm using a compute to add a line in the middle of the table. In the resulting HTML file, the line added is given the class of "NoteContent". I'd like to edit the event inside the tagset to add additional HTML code but I'm unable to find the correct place in the htmlcss tagset to edit. I've tried editing the NoteContent event but this does not seem to be the the correct place.
Any ideas?
Thanks,
Jeff
The class="notecontent" attribute refers to the CSS class used for that element, not the event name. Use the event_map tagset to determine which events are sent to the tagset. In this particular case, the event map shows that LINE statement output is sent to the tagset as a data_note event.
Here's the SAS doc on the event_map tagset: http://support.sas.com/documentation/cdl/en/odsug/61723/HTML/default/viewer.htm#a002566874.htm. Here's a good tutorial: http://support.sas.com/rnd/base/ods/odsmarkup/p14-30_012105.pdf.
Message was edited by: tim hunter
Hi Jeff,
could you provide some code. It's quit difficult to find an error or to give some advices without code.
Thanks
The class="notecontent" attribute refers to the CSS class used for that element, not the event name. Use the event_map tagset to determine which events are sent to the tagset. In this particular case, the event map shows that LINE statement output is sent to the tagset as a data_note event.
Here's the SAS doc on the event_map tagset: http://support.sas.com/documentation/cdl/en/odsug/61723/HTML/default/viewer.htm#a002566874.htm. Here's a good tutorial: http://support.sas.com/rnd/base/ods/odsmarkup/p14-30_012105.pdf.
Message was edited by: tim hunter
Thanks very much for this. I didn't know about the event_map that I could create. This is extremely helpful.
Thanks again,
Jeff
Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.
Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.