What it does
This node assigns the following Table attributes to tables and their cells (Table, TH and TD structure elements):
- Rowspan
- Colspan
- Scope
- Summary
Use it for
- Defining the row or column span of table cells.
- Specifying the scope of header cells.
- Adding table summaries to tables.
How to use it
- Drag and drop the node from the Node Library into your template:
Node Library > Folder Tagging - Connect the node with other nodes in the Data Flow of your template.
- Specify the settings in the Node Properties task pane.
Node Input
Items: Connect a node containing the table elements where you want to apply Table attributes.
Important
To set Table attributes, each table item must have an attached structure element.
Node Output
Items: Outputs the same items, now enhanced with the specified Table attributes.
Node Properties
Node Name
You can assign a custom name to the node to help identify its purpose within your template.
Node Selector
Use Path Language to navigate through the shape trees and select the table elements (Table, TH or TD structure elements) where you want to apply Table attributes. Use the names assigned to shape trees (not the tags in brackets).
Rowspan Expression
Define how many rows a cell (TH or TD) should span.
Available variable:
-
item: the current item being processed from the input list.itemhas the same properties as a shape tree object. -
index: the zero-based index of the item in the input list -
first: the first item in the input list -
last: the last item in the input list -
count: the total number of items in the input list
Expected return type: integer
Example:
2
Sets the row span of the selected cells to 2.
Colspan Expression
Define how many columns a cell (TH or TD) should span.
Available variable:
-
item: the current item being processed from the input list.itemhas the same properties as a shape tree object. -
index: the zero-based index of the item in the input list -
first: the first item in the input list -
last: the last item in the input list -
count: the total number of items in the input list
Expected return type: integer
Example:
4
Sets the column span of the selected cells to 4.
Scope Expression
Specify the scope of header cells (TH), indicating whether they apply to a row, column, or both.
Available variables:
-
item: the current item being processed from the input list.itemhas the same properties as a shape tree object. -
index: the zero-based index of the item in the input list -
first: the first item in the input list -
last: the last item in the input list -
count: the total number of items in the input list scope.rowscope.columnscope.both
Expected return type: integer
Example:
scope.row
Sets the scope of the selected header cells to row.
Summary Expression
Add a summary to a table (Table structure element) to describe its purpose or content.
Available variable:
-
item: the current item being processed from the input list.itemhas the same properties as a shape tree object. -
index: the zero-based index of the item in the input list -
first: the first item in the input list -
last: the last item in the input list -
count: the total number of items in the input list
Expected return type: string
Example:
"Text that describes the table."
Adds the summary "Text that describes the table." to the selected table.