PebbleRows Documentation

PebbleRows is a Web application that takes the source code for an HTML, XHTML, or DITA-XML table and sorts the rows based on a particular column (and an optional secondary sort-by column). PebbleRows can also delete a specified column from the table.

Contents

Input
Sorting Rows
Deleting a Column

Input

The snippet of HTML, XHTML, or DITA source code that you type or paste into the text area (the large box on the left side of the application window) must meet the following conditions:

PebbleRows does not sort rows within table headers (<thead> or <sthead>) or footers (<tfoot>).

If there is no <thead> or <sthead> element, PebbleRows checks whether the first row in the table contains one or more <th> elements and no <td> elements, and if so, PebbleRows does not include the first row in a sorting operation.

Sorting Rows

PebbleRows sorts the body of a table according to the values in a specified sort-by column and an optional secondary sort-by column. If a sort-by column contains only numbers, PebbleRows performs a numeric sort; otherwise, PebbleRows performs an alphabetic sort.

To sort table rows, perform the following steps:

  1. Place the source code for the table in the text area.

  2. In the Sort-by column field, enter a positive integer specifying the column that you want to sort by.

  3. Optionally, specify the secondary sort-by column.

    If you do not want to specify a secondary sort-by column, clear that field or set it to 0.

  4. Make sure that the Column to delete field is empty or set to 0.

  5. Select either Ascending or Descending under Sort order.

  6. Click the Sort Rows button.

PebbleRows processes the table and returns the result in the text area.

Return to top

Deleting a Column

To delete a table column, perform the following steps:

  1. Place the source code for the table in the text area.

  2. In the Column to delete field, enter a positive integer specifying the column that you want to delete.

  3. Click the Delete Column button.

PebbleRows processes the table and returns the result in the text area.

Return to top

To PebbleRows