Subject: RE: [xsl] position() problem From: "Michael Kay" <mhk@xxxxxxxxx> Date: Thu, 26 Jun 2003 10:36:02 +0100 |
document(X)//mot[3] selects every mot element that is the third child of its parent. If you want the third mot element in the document, you need (document(X)//mot)[3] Michael Kay > -----Original Message----- > From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of > François Parlant > Sent: 26 June 2003 09:05 > To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx > Subject: [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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] position() problem, David Carlisle | Thread | RE: [xsl] position() problem, Zink, Juergen |
RE: [xsl] Different Colors for Alte, Jarno . Elovirta | Date | RE: [xsl] Different Colors for Alte, Michael Kay |
Month |