RE: [xsl] nodelist not recognised

Subject: RE: [xsl] nodelist not recognised
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 8 Sep 2005 21:02:04 +0100
Well, the error message strongly suggests that the value isn't a node-set as
you allege, but a string. However, you haven't shown us any code so I can't
verify that.

Michael Kay
http://www.saxonica.com/

 

> -----Original Message-----
> From: Touchtel [mailto:omprakashv@xxxxxxxxxxxxxxxxx] 
> Sent: 08 September 2005 18:14
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: [xsl] nodelist not recognised
> 
>    Hi,
>         I have a variable which is a nodeset and when I try to
> apply-templates to the nodes in the variable, Iam getting the 
> error "Can not
> convert #STRING to a NodeList!" using an xslt 1.0 processor. 
> I have tested
> with both xalan and saxon. The transform however works perfectly with
> saxon-b8.2. Iam executing a similar apply-templates from 
> another template
> and that works fine. Iam receiving the variable as a param to 
> a  template
> that gets invoked recursively.
> 
>    could someone possibly let me know whats happening here.
> 
> cheers,
> prakash

Current Thread