Saxon.Api

 

 

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

public  UNKNOWN

Indicates that the host language in which the XPath expression appears is unknown

XML_SCHEMA

public  XML_SCHEMA

Indicates that the host language is XSD (typically used for assertions in XSD 1.1 schema documents)

XPATH

public  XPATH

Indicates a free-standing XPath expression, typically executed using an API from a language such as Java or C#

XQUERY

public  XQUERY

Indicates that the host language is XQuery

XSLT

public  XSLT

Indicates that the host language is XSLT

XSLT_PATTERN

public  XSLT_PATTERN

Indicates an XPath expression acting as an XSLT match pattern