This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: picking and choosing
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: picking and choosing
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Wed, 20 Sep 2000 13:18:20 +0100
- Reply-To: xsl-list at mulberrytech dot com
> I need to know how to write an xsl file that can take only 5
> items from an xml file that 30 items in it...
<stories xsl:version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:copy-of select="/stories/story[position() < 6]"/>
</stories>
This is the complete stylesheet.
Mike Kay (shouting from the mountain tops)
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list