Stack View

Shows the current execution stack of both source and XSL/XQuery nodes. During transformation two stacks are managed: one of source nodes being processed and the other for XSL/XQuery nodes being processed. <oXygen/> shows both node types into one common stack. The source (XML) nodes are preceded by a red color icon while XSL/XQuery nodes are preceded by a green color icon. The advantage of this approach is that you can always see the source scope on which a XSL/XQuery instruction is executed (the last red color node on the stack). The stack is oriented upside down.

Figure 12.8. The Stack View

The Stack View

Table 12.5. Stack details

ColumnDescription
# Order number, represents the depth of the node (0 is the stack base).
XML/XSL/XQuery NodeNode from source or stylesheet document currently being processed. One particular stack node is the document root, noted as #document.
AttributesAttributes of the node (list of id="value " pairs).
ResourceResource file where the node is located.

Remarks

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

  • Using Saxon, the stylesheet elements are qualified with XSL proxy, while on Xalan you only see their names. (example <xsl:template> on Saxon and template on Xalan).

  • Only Saxon processor shows element attributes.

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