Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - How to set a limit when applying template [Thread Next] Re: How to set a limit when applying templateTo: NULL Date: 10/9/2008 1:36:00 AM Hvid Hat wrote: > Hi > > When using <xsl:apply-templates select="Document"> I get 10 documents. How > can I limit it to only the first 5 documents, e.g. pseduo > <xsl:apply-templates select="Document[position() < 6]"> the code you suggest is the code you want, did you try it? -- http://dpcarlisle.blogspot.com | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
