If you're using DOM rather than dom4j then try the
Xerces mail list ;-)
If you have the whole document in memory and wish
to display 10 rows from it, then the XPath position() function might be useful.
For example the XPath expression...
/*/foo[ position() < 10
]
would select the first 9 foo elements that are
immediate childs of the root element.
For more help on working with XPath I recommend the
Zvon tutorial
James
|
- [dom4j-user] Displaying x number of records Lodhi, arsalan
- James Strachan