Obtaining Information About Local Variables

Display the Variables window to obtain information about local variables. To display the Variables window, click Variables in the Stylus Studio tool bar.This button is active when Stylus Studio suspends processing because it reached a breakpoint. Stylus Studio displays the Variables window only when processing is suspended.

For stylesheets, Stylus Studio displays

  • A path that shows which node in the stylesheet was being processed when processing was suspended
  • Local and global XSLT parameter values
  • Local and global XSLT variable values

Also, you can navigate the structure associated with a variable, a parameter, or the current context if it is a node list or a node.

For Java classes, Stylus Studio displays

  • Local variables that are defined at that point in the processing and their values.
  • Function parameters and their values.
  • A special variable named this. The this variable represents the object being processed. It allows you to drill down and obtain additional information.

You can expand and collapse complex structures as needed.

Free Stylus Studio XML Training:
W3C Member