◇◆
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.)
OPTIONAL on 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. |
Tagged Sample
Version 11 of C++
...
<code
code-type="user interface control"
language="C++"
language-version="11"
xml:space="preserve"
orientation="portrait"
position="anchor">
#include <conio.h>
#include<win_mous.cpp>
// Needed for mouse & win functions#define
...
</code>
...