[PHP-DOC] How to use programlisting? From: Damien Seguy (dams <email protected>)
Date: 01/05/01

Hi,
(Happy new year to you all :-) ).

As I'm reading again French translation, I noticed that
programlisting tag seems to have several usage :
<programlisting role="php"> // for PHP script
<programlisting role="php3"> // for PHP3 script
<programlisting role="php3.ini"> // for php3 directive
<programlisting role="apache-conf"> // for apache directive
<programlisting role="apache"> // for apache directive (another one)
<programlisting role="bs2000"> // for sesam configuration
<programlisting role="makefile"> // for shell commands
<programlisting role="xml"> // for xml code
<programlisting role="html"> // for xml code

<programlisting> also exist, and is being used to contains differents
kinds of code (php, html, shell...), and sometimes for script output too.
(while there is a <computeroutput> or <screen> tag).

Now, is there a standard rule for using <programlisting> tag?
What should be used for script/shell output?

Best regards
Damien Seguy