When you insert a Data View Web Part, you can add a column
to the table and have it display a running count of records in your XSLT Data
View. To add a column to your XSLT Data View, Follow these steps:
- Put the insertion point inside any table cell that contains
XML data.
- On the Table menu, point to
Insert, and then click Rows or
Columns.
- Click Columns, and then click
OK.
- Put the insertion point inside one of the new table cells
that you created in the same row as the data that you want to work
with.
Do not use the header row of the table for this
purpose. - Click the down arrow next to the
<td> button on the Quick Tag Selector
tool bar.
- Click Insert HTML.
- Replace "<>" with
<xsl:number/>.
- Click the green checkmark to approve the change.
You will now have a value in each row that indicates the number
of records in the Data View.