XCST Elements

Namespace
http://maxtoroq.github.io/XCST
Conventional prefix
c
Schemas

https://github.com/maxtoroq/XCST/tree/v2/schemas

Data Types

These types are used to specify the allowed values of attributes.

name description
string Any string
boolean One of the values "yes", "no", "true", "false", "1" or "0".
integer An xsd:int
decimal An xsd:decimal
qname An xsd:QName
eqname An EQName
ncname An xsd:NCName
uri An xsd:anyURI
nmtoken An xsd:NMTOKEN
token An xsd:token
expression A C# expression
identifier A C# identifier
type_name A C# type_name
namespace_name A C# namespace_name
boolean_expression A C# boolean_expression
lambda_expression A C# lambda_expression
unary_expression A C# unary_expression
statement_expression A C# statement_expression

If a type is suffixed with an asterix (e.g. cdata-section-elements = eqname*) it indicates a whitespace separated list of values that conform to that particular type, e.g. cdata-section-elements='script style'.

Reserved Namespaces

The XCST namespace http://maxtoroq.github.io/XCST and any other namespace that starts with http://maxtoroq.github.io/XCST/ (note the trailing slash) are reserved namespaces. In general, reserved namespaces cannot be used to name c:attribute-set, c:mode, c:output and c:template declarations, see the documentation for these elements for more information.