|
|
Purpose: This demo is based on the sortable table idea of the 107th Congress example on the xml.house.gov site. In this case, the data comes from a partially fictitious XML Working Group participants list. All data is sortable in place without accessing another page on the server. In other words, the demo illustrates client-side sorting of XML data via XSLT.
Note: This demo uses non-standard Microsoft XML DOM and XSLT features. It therefore only works in IE 5.5 or above. You will not see the table data nor be able to sort anything in any other browser.
Usage: Clicking on any column heading will sort all data in ascending order by that column's criterion. Clicking again on the same column heading will sort in descending order. Single clicking a row selects it. Double clicking displays the full raw XML from which that row's data is extracted via XSLT (only a subset of the XML elements are displayed in the table). When a row is selected, up and down arrows select previous or next rows. The ENTER key also generates the alert box showing the raw XML for the currently selected row.
| Last Name | First Name | Organization | URL | Phone |
|---|
Last Updated: August 29, 2002
Portions of the Microsoft-specific code based on an article by Sean McMullan (ALLTEL Information Services) that appeared in XML Journal, Volume 3, Issue 5, in 2002. Remainder of code Copyright © 2002 Kenneth B. Sall. All Rights Reserved.