xsl:field

New in XSLT 4.0. Used with xsl:record-type to declare a record type.

Content: none
Permitted parent elements: xsl:record-type

Attributes

name

ncname

The name of the field.

as?

sequence-type

Defines the required type of the field value. Defaults to item()*.

required?

boolean

Specifies whether the field is required. Defaults to "yes".

default?

expression

Used to provide a default value for the field.

Saxon availability

Available in XSLT 4.0. Not implemented in Saxon.

Notes on the Saxon implementation

New in XSLT 4.0. Not yet implemented in Saxon.

Links to W3C specifications

XSLT 4.0 Specification

See also

xsl:record-type