Subject: Re: [xsl] How to select a range of elements with offset and length? From: "J.Pietschmann" <j3322ptm@xxxxxxxx> Date: Mon, 08 Apr 2002 23:03:36 +0200 |
Hi, I am trying to select a range of elements using an offset and length. For example in the following xml, <a> <b> <item>1</item> <item>45</item> <item>1</item> <item>200</item> <item>KKK</item> <item>23</item> <item>1</item> <item>1</item> <item>200</item> <item>100</item> </b> </a>
if I want to select elements from 3 to 7, what is the xpath expression?
<xsl:template match="b"> <xsl:for-each select="item[position()>=3 and 7>=position()]" >
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] How to select a range of elem, Sreeni Chippada | Thread | [xsl] selecting specific number of , Jaideep Chadha |
[xsl] object "me", Ladetto, Juan (Siste | Date | Re: [xsl] selecting specific number, J.Pietschmann |
Month |