SAXONICA

Saxon Documentation
Full Contents
About Saxon
Changes in this Release
Conditions of Use
Using XSLT 2.0
Using XQuery
Handling Source Documents
XML Schema Processing
The XPath API
Standards Conformance
Extensibility
Saxon Extensions
| Introduction
| EXSLT Extensions
| Extension attributes (XSLT only)
| Additional serialization parameters
» | Extension functions
| Extension instructions
Sample Saxon Applications
The Saxon SQL Extension
XSLT Elements
XPath 2.0 Expression Syntax
Function Library
XSLT Patterns

# saxon:type-annotation()

type-annotation(node as node()) ==> 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