View Single Post
  #6 (permalink)  
Old April 28th, 2006, 08:58 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

Sounds as if you're running in the browser. That's the worst way to develop and debug XSLT code - you can't see what you're doing, and the diagnostics are very poor. Either use an XML IDE such as Stylus Studio or XML Spy, or use a plain old text editor and command line (I'm using jEdit and Saxon to develop some complex stylesheets for a client today, and it works fine).

121 is the string value of both the old and the new XML, so this doesn't tell you anything. View Source does what it says - it shows you the source. If you're in IE, there's a plug-in you can get to view the result - but I don't recall the details, as it's not the way I prefer to develop.

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