Usually the XSLT/XQuery processors signal the following events during transformation:
entering a source (XML) node.
leaving a source (XML) node.
entering a XSL/XQuery node.
leaving a XSL/XQuery node.
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.
Table 7.6. Trace History details
Column | Description |
---|---|
Depth | Starts 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 Node | Represents 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). |
Attributes | Attributes of the node (list of id ="value " pairs). |
Resource | Resource file where the node is located. |
Clicking a record highlights that node's location inside the resource.
Only Saxon processor shows element attributes.
Xalan processor shows the "built-in" rules.