<c:map-entry
key = expression
value? = expression >
<!-- Content: sequence-constructor -->
</c:map-entry>
Creates a map entry.
- Category
- instruction
- Permitted parent elements
- Any XCST element whose content model is sequence-constructor
- Any literal result element
Attributes
key |
The key of the entry. |
value |
The value of the entry. |
In addition to the attributes in the preceding table, there are a number of standard attributes that may appear on any XCST element.
Note: Differences with xsl:map-entry
While xsl:map-entry
can be used to create a singleton map, c:map-entry
cannot be used as a standalone instruction, it requires c:map
.
Error Conditions
It is a compilation error if the value
attribute is present when the content of the element is non-empty.
It is a compilation or run-time error if the c:map-entry
instruction is used in a context other than evaluating the contained sequence constructor of a c:map
instruction.