- Namespace
http://maxtoroq.github.io/XCST- Conventional prefix
c- Schemas
Elements
c:acceptc:apply-templatesc:arrayc:assertc:attributec:attribute-setc:breakc:call-templatec:catchc:choosec:commentc:continuec:copy-ofc:delegatec:documentc:elementc:fallbackc:finallyc:for-eachc:for-each-groupc:functionc:ifc:importc:import-namespacec:invoke-delegatec:invoke-packagec:mapc:map-entryc:memberc:messagec:metac:modec:modulec:namespacec:next-matchc:next-templatec:objectc:on-emptyc:otherwisec:outputc:overridec:packagec:paramc:processing-instructionc:result-documentc:returnc:scriptc:serializec:setc:sortc:switchc:templatec:textc:tryc:typec:use-packagec:validationc:value-ofc:variablec:voidc:whenc:whilec:with-param
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.