Project

Profile

Help

Feature #4066

closed

Tracing of template rule matching

Added by Michael Kay over 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Diagnostics
Sprint/Milestone:
-
Start date:
2018-12-11
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
9.9
Fix Committed on Branch:
9.9
Fixed in Maintenance Release:
Platforms:

Description

Although we have quite a few tracing options in Saxon, it can be difficult to trace which nodes are matched by which template rules.

I have added an option <xsl:mode saxon:trace="yes"/> that outputs (to the Configuration's Logger) an INFO message indicating the item that was selected by xsl:apply-templates, and the rule that was used to process it, including built-in template rules where appropriate.

Please register to edit this issue

Also available in: Atom PDF