[xsl] cast failed-invalid lexical value error

Subject: [xsl] cast failed-invalid lexical value error
From: a kusa <akusa8@xxxxxxxxx>
Date: Wed, 24 Feb 2010 09:50:13 -0600
Hi

I am trying to do something very simple here.

I am counting a certain node, and adding 1 to it.

So as simple as count(preceding-sibling::text) +1.

I keep getting this error = 'Error in XPATH 2.0. cast failed-invalid
lexical value error'

What is wrong with this? It is a simple addition.

Can the experts please explain this?

Current Thread