Re: [xsl] position() problem

Subject: Re: [xsl] position() problem
From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx>
Date: Thu, 26 Jun 2003 09:08:52 +0100
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


Current Thread