RE: [xsl] whitespace problem

Subject: RE: [xsl] whitespace problem
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Wed, 9 Jul 2003 14:12:53 +0100
A useful discipline for catching typos such as match="artists" is to
define a catch-all template rule:

<xsl:template match="*">
  *** UNMATCHED ELEMENT <xsl:value-of select="name()"/> ***

Running the stylesheet with a tracing option such as -T in Saxon also
catches these errors quickly.

Michael Kay

 XSL-List info and archive:

Current Thread