xsl-list
[Top] [All Lists]

RE: whitespace problem

2003-07-09 06:12:53

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()"/> ***
</xsl:template>

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

Michael Kay


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



<Prev in Thread] Current Thread [Next in Thread>