xsl:record-type

New in XSLT 4.0. Used to declare a name for a record type.

Category: declaration
Content: ( xsl:field* )
Permitted parent elements: xsl:package ; xsl:stylesheet ; xsl:transform

Attributes

name

eqname

A QName used to identify the record type uniquely within the stylesheet package.

constructor?

boolean

extensible?

boolean

Specifies whether the record type is extensible - which means that a map matching the record type may contain additional entries to those specified. Defaults to "no".

visibility?

"private" | "public"

The visibility of the record type.

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 13.

Links to W3C specifications

XSLT 4.0 Specification

See also

xsl:field