Help using Base SAS procedures

Proc Report and custom tagset

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 6
Accepted Solution

Proc Report and custom tagset

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


Accepted Solutions
Solution
‎08-26-2011 09:07 AM
Super Contributor
Posts: 394

Re: Proc Report and custom tagset

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

View solution in original post


All Replies
Occasional Contributor
Posts: 10

Proc Report and custom tagset

Hi Jeff,

could you provide some code. It's quit difficult to find an error or to give some advices without code.

Thanks

Solution
‎08-26-2011 09:07 AM
Super Contributor
Posts: 394

Re: Proc Report and custom tagset

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

Occasional Contributor
Posts: 6

Re: Proc Report and custom tagset

Thanks very much for this.  I didn't know about the event_map that I could create.  This is extremely helpful.

Thanks again,

Jeff

🔒 This topic is solved and locked.

Need further help from the community? Please ask a new question.

Discussion stats
  • 3 replies
  • 147 views
  • 1 like
  • 3 in conversation