[xsl] Displaying only a subset of tags

Subject: [xsl] Displaying only a subset of tags
From: "Jaime A Stuardo Bahamondes" <jstuardo@xxxxxxxxxxx>
Date: Tue, 11 Nov 2003 10:16:06 -0400
Hi all...

>From an Oracle query I get this XML:

<ROWSET>
  <ROW id="1">
    ...
  </ROW>
  <ROW id="2">
    ...
  </ROW>
  <ROW id="3">
    ...
  </ROW>
  <ROW id="4">
    ...
  </ROW>
  <ROW id="5">
    ...
  </ROW>
  <ROW id="6">
    ...
  </ROW>
</ROWSET>

To page the results, I want the XSL to display only a subset of those tags. For example, all tags whose id's range from 2 through 5.

How can I do it using XPATH?

Thanks
Jaime

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


Current Thread