View Single Post
  #7 (permalink)  
Old February 13th, 2006, 06:54 PM
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

I can't see the problem in the code you've shown me. But I'm suspicious of things like "the input snippet is nested in other tags". In that case if (boolean(/Amt)) isn't going to work. There's either a bug in your processor, or there's a bug in the code you're not showing me. The latter, from experience, is more likely. As I asked before, please supply a complete example that I can run at home.

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