View Single Post
  #5 (permalink)  
Old June 1st, 2007, 03:51 AM
mhkay's Avatar
mhkay mhkay is offline
Wrox Author
Points: 18,487, Level: 59
Points: 18,487, Level: 59 Points: 18,487, Level: 59 Points: 18,487, Level: 59
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2004
Location: Reading, Berks, United Kingdom.
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

One other point, I just noticed this:

<xsl:if expr="depth(this) > 2">

That suggests you aren't using XSLT at all, but rather the obsolete 1998 WD-xsl language invented by Microsoft as a short-term expedient while XSLT was still being standardised.

Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference