xsl-list
[Top] [All Lists]

Re: position() problem

2003-06-26 01:08:52
Hi François,

Why does "document('mygloss.xml')//mot[$pos]" only gives answer for
$pos=1 and returns nothing for all other values? I've also tried
some number($pos), but it didn't work.

It sounds as though the $pos variable is always set to 1. Without
seeing the code that sets the $pos variable (and its surroundings)
it's impossible for us to tell why that might be.

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>