Saxon.Api

 

 

Saxon.Api

Class XdmItemType

Direct Known Subclasses
XdmAnyArrayType, XdmAnyFunctionType, XdmAnyItemType, XdmAnyMapType, XdmAnyNodeType, XdmAtomicType, XdmNodeKind

public abstract class XdmItemType

Abstract class representing an item type. This may be the generic item type item(), an atomic type, the generic node type node(), a specific node kind such as element() or text(), or the generic function type function().

More specific node types (such as element(E) or schema-element(E)) cannot currently be instantiated in this API.

Method Summary

 string ToString()

Get a string representation of the type. This will be a string that confirms to XPath ItemType production, for example a QName (always in 'Q{uri}local' format, or a construct such as 'node()' or 'map(*)'). If the type is an anonymous schema type, the name of the nearest named base type will be given, preceded by the character '<'

 

Method Detail

ToString

public override string ToString()

Get a string representation of the type. This will be a string that confirms to XPath ItemType production, for example a QName (always in 'Q{uri}local' format, or a construct such as 'node()' or 'map(*)'). If the type is an anonymous schema type, the name of the nearest named base type will be given, preceded by the character '<'

Returns:

a string representation of the type