With some help from Chris Wallace I now have a very simple AJAX-style
as-you-type collection browser running here:
Note that as you append characters to the input path the
sub-collection set is narrowed.
I have put the sample code here in the XQuery Wikibook:
The ideal form would have a drop-down list directly under the input field.