xsl-list
[Top] [All Lists]

RE: position() problem

2003-06-26 01:35:43
Hi François,

if <mot> is the root node it can be only one root node.
Can you show how mygloss.xml looks like?

Cheers,

Juergen

-----Ursprüngliche Nachricht-----
Von: François Parlant [mailto:fxp(_dot_)xsl(_at_)laposte(_dot_)net]
Gesendet am: Donnerstag, 26. Juni 2003 10:05
An: XSL-List(_at_)lists(_dot_)mulberrytech(_dot_)com
Betreff: [xsl] position() problem

Hi,
 My pb with this drives me crazy, and as my latest post did'nt get answered,
I'll give a simpler try.

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.

Please any help would be great.
 François


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

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



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