code-version

Code Version

Version of this program or code fragment.

Remarks

Note: This is the version of the code; the version of the language in which the <code> is written is recorded in the @language-version attribute.

Used on Element: <code>

ValueMeaning
Text, numbers, or special charactersVersion of the program (code) that is shown inside the <code> element, for example, “25.1 second patch”.
Restriction@code-version is an optional attribute; there is no default.

Example

 
...
<code language="xslt" code-version="2.0">
  &lt;xsl:template match="/">
    &lt;xsl:apply-templates/>
  &lt;/xsl:template>
</code> 
...