code-version

Code Version

Version of this code.

Remarks

Note: 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 code-type="xml" code-version="1.0"
  language="xslt" language-version="2.0"
  platforms="windows mac unix" executable="no"
  xml:space="preserve" orientation="portrait"
  position="anchor">
&lt;xsl:template match="node()" mode="compare"&gt;
  &lt;xsl:copy copy-namespaces="no"&gt;
    &lt;xsl:copy-of select="@*"/&gt;
    &lt;xsl:apply-templates mode="compare"/&gt;
  &lt;/xsl:copy&gt;
&lt;/xsl:template&gt;
</code>
...