name:lstset

name:lstinputlisting lstlisting
<div tal:condition="self/attributes/arguments/caption" class="caption" tal:attributes='id self/attributes/arguments/label'>
  <b tal:content='string:${self/captionName} ${self/ref}'></b>: 
  <span tal:replace='self/attributes/arguments/caption'></span>
</div>
<pre tal:condition="self/html_listing" tal:replace='self/html_listing'></pre>
<pre tal:condition="not:self/html_listing" tal:content='text self/plain_listing'></pre>

name: lstinline
<tt tal:condition="self/html_listing" tal:replace='self/html_listing'></tt>
<tt tal:condition="not:self/html_listing" tal:content='text self/plain_listing'></tt>
