Saxonica.com

saxon:type-annotation()

type-annotation(node as node()) ==> xs:string

This function takes a node as argument, and returns a string representation of its type. In the case of an anonymous type, this will be a path identifying the type within the schema. The function is intended for diagnostic use, and the actual form of the string result may change in future releases.

Next