Saxon.Api
Class ParameterDetails
-
public class ParameterDetails
Information about an external parameter to an XSLT stylesheet (xsl:param) or an XQuery query
(declare variable ... external;)
Field Summary |
|
|---|---|
| Location | Location Get details of the location of the parameter declaration |
Property Summary |
|
|---|---|
| XdmSequenceType | DeclaredType Gets the declared type of the parameter. |
| bool | Required Ask whether the parameter is required (mandatory) or optional |
Field Detail
Location
Get details of the location of the parameter declaration
Returns:
Property Detail
DeclaredType
Gets the declared type of the parameter.
Returns:
as attribute of the xsl:param element, or
the equivalent in XQueryRequired
Ask whether the parameter is required (mandatory) or optional
Returns:
true if the parameter is mandatory (required="yes"), false
if it is optional.