c:module

<c:module
  version = decimal
  language = language
  default-mode? = eqname
  inherits? = type_name
  a:model-type? = type_name
  a:slug? = slug >
  <!-- Content: (c:import-namespace*, declaration*) -->
</c:module>

Represents an XCST module.

Permitted parent elements
None

Attributes

default-mode The default mode of template rules for the current module.
inherits A base type for the current package.
language The expression language for this module (usually "C#" or "VisualBasic").
version The XCST version for the current and descendant elements (usually "1.0").
a:model-type A type that represents the model for the current page.
a:slug A string to be used in the URL for the current page, instead of the file name.

In addition to the attributes in the preceding table, there are a number of standard attributes that may appear on any XCST element.

See Also