This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[docbook] Programming language in programlisting


Hi,

I am writing a Saxon-Extension for Syntax-Highlighting code in programlistings. My question is, how to specify the programming language of the code in the programlisting.

As I understood lang, it is only for human languages. The other option seems to be role, so which version is better?

<programlisting lang="java">

or

<programlisting role="java">

with best regards

Lars Trieloff

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-unsubscribe at lists dot oasis-open dot org
For additional commands, e-mail: docbook-help at lists dot oasis-open dot org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]