language-version

Code Language Version

Version of the language in which this code is written, e.g. "3.0", for code written in "Javascript 3.0". (The language name “javascript” is recorded in the @language attribute.)

With the Element

<code>
Value Meaning
Text, numbers, or special characters. The version of the language in the code sample, such as “3.0”, “8A”, etc.
Restriction: @language-version is an optional attribute; there is no default.

Example


...
<code   
  code-type="user interface control" 
  language="C++"
  language-version="11"
  xml:space="preserve" 
  orientation="portrait"
  position="anchor">
#include &lt;conio.h>
#include&lt;win_mous.cpp>
// Needed for mouse &amp; win functions#define
...
</code>
...