January 31, 2007

A Faster Way to Search Through a DataTable

DataTable supports the Find() and Select() methods for quick searching. But a faster way is to use a DataView with a sort column. DataView generates an index for a sorted

Read from a Sequence of Items in Saxon 8

As you probably know, an XPath 2.0 expression returns a sequence of items (nodes and atomic values). The following code shows you how to read from a sequence of items