[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: xsl self-documentation - trace

Subject: RE: xsl self-documentation - trace
From: "Randall Parker" <randall@xxxxxxx>
Date: Wed, 28 Jun 2000 20:45:28 -0700
RE: xsl self-documentation - trace
I'm a newbie novice with this XSLT stuff. However, I've done a lot of debugging in many kinds of systems and have a modest proposal:

The XSLT engine should output two things when put in trace mode:

1) A listing file. 
   The listing file would be the XSLT document that it processed but with a twist: Every line (or maybe every test) would be numbered. 

2) A numbered match history. 

To take your example below: The line might be in the listing as
  52:  <xsl:template match="blah">

Then the match history would be like:

21 
32
79
52
34
79
52

To make it easier to search the match history I'd suggest making all match numbers as wide as the widest one. If the widest was 3 digits then:

052

That way one could load the match history into a programmers editor and do a search for 052 and not worry about finding the 52 in 152 for instance.

Anyway, if this is impractical or difficult or not useful disregard. Again, I'm real new to XSLT so I may be missing basic things here. 

On Tue, 27 Jun 2000 16:11:27 +0100, Pawson, David wrote:

>1. This template has been triggered
>  (present solution is:
>     <xsl:template match="blah"> ****************
>     The row of stars is either there or not and is easy to spot.



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.