Trace history view

Usually the XSLT/XQuery processors signal the following events during transformation:

The trace history catches all these events, so you can see how the process evolved. The red icon lines denote source nodes while the green icon lines denote XSL/XQuery nodes.

It is possible to save the element trace in a structured XML document. It is available on the context menu of the view. In this way you have the possibility to compare the trace results from different debug sessions.

Figure 7.10. The Trace History View

The Trace History View

Table 7.6. Trace History details

ColumnDescription
DepthStarts from 0 and represents the level of overlapping for that node. This is similar with the # order number from stack at the moment the node was processed.
XML/XSL/XQuery NodeRepresents the node from the processed source or stylesheet document. One particular node is the document root, noted as #document. Every node has an arrow in front of it representing what action was performed on it (entering or leaving).
AttributesAttributes of the node (list of id="value" pairs).
ResourceResource file where the node is located.

Remarks

  • Clicking a record highlights that node's location inside the resource.

  • Only Saxon processor shows element attributes.

  • Xalan processor shows the "built-in" rules.