saxon:print-stack

Returns a formatted string giving information about the current calling stack.

print-stack() ➔ xs:string

There are no arguments

Result

xs:string

Namespace

http://saxon.sf.net/

Saxon availability

Requires Saxon-PE or Saxon-EE.

Notes on the Saxon implementation

Available since Saxon 9.1.

Details

This function takes no arguments. It returns a string whose value is a formatted representation of the current state of the execution stack. This is suitable for display using xsl:message or the trace() function, or it can be inserted as a comment into the result document.