Hi David,

Actually it was "skit bakom spakarna" as we say in Sweden. Problem was that the
XSLT was confined to a subnode of the document element, but the main template 
in the
XSL was trying to match to the document element, which of course failed and the 
output
document was null.
Once I set the template match to the processed subnode, it worked A OK.
But I'm not sure why the XSLT failed with an error instead of just doing 
nothing...

Thanks
/Rob

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, May 14, 2003 11:06 PM
> To: [email protected]
> Subject: Re: Problem with functions!?
> 
> 
> >I can't get my installed functions to actually be executed. All I get
> >from the transformation is "XObjectInvalidConversionException: Cannot
> >convert a #STRING to a node set."
> 
> That message could indicate that the returned value is being used in a
> situation where a node-set is expected. For example,
> <xsl:for-each select="func(args)">
> The "func" function must return a node-set, whether it's a built-in or
> an extension function.
> .................David Marston
> 

Reply via email to