Nine times out of ten this means that you are trying to use a return tree fragment (RTF) as a node-set. If you want to use XML assembled by XSLT as a node-set, you need to use the exsl:node-set() function to turn the RTF back into a node-set. Unfortunately, LibXSLT doesn't provide line numbers for invalid type errors, and Daniel Veillard has indicated that trying to change this is not a high priority.
This FAQ is for questions that often come up when trying to use XSLT with Xcruciate. It is not intended to be a general introduction to XSLT.
I keep getting 'invalid type' errors without any context
6 Jan 2009 at 01:00 by mark
What causes 'fake document' errors?
6 Jan 2009 at 01:00 by mark
It probably means that you are trying to return content from a func:function, but that you have omitted the func:result.
0 comment(s) so far, not open for comments

0 comment(s) so far, not open for comments