Saxon.Api
Enum HostLanguage
- 
               public enum HostLanguage
Identifies a host language in which XPath expressions appear. Generally used when different error codes need to be returned depending on the host language.
| Field Summary | |
|---|---|
| UNKNOWN Indicates that the host language in which the XPath expression appears is unknown | |
| XML_SCHEMA Indicates that the host language is XSD (typically used for assertions in XSD 1.1 schema documents) | |
| XPATH Indicates a free-standing XPath expression, typically executed using an API from a language such as Java or C# | |
| XQUERY Indicates that the host language is XQuery | |
| XSLT Indicates that the host language is XSLT | |
| XSLT_PATTERN Indicates an XPath expression acting as an XSLT match pattern | |
Field Detail
UNKNOWN
Indicates that the host language in which the XPath expression appears is unknown
XML_SCHEMA
Indicates that the host language is XSD (typically used for assertions in XSD 1.1 schema documents)
XPATH
Indicates a free-standing XPath expression, typically executed using an API from a language such as Java or C#
XQUERY
Indicates that the host language is XQuery
XSLT
Indicates that the host language is XSLT
XSLT_PATTERN
Indicates an XPath expression acting as an XSLT match pattern