code-version Code Version

Version of this program or code fragment.


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.
OPTIONAL on element: <code>
Value Meaning
Text, numbers, or special characters Version 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.
Tagged Sample

Naming the version number for XSLT code

<code language="xslt" language-version="3.0"
  &lt;xsl:template match="/">