FormatAll¶
Applies the specified template to every node selected by the XPath and joins the results with a separator.
1 | |
Parameters¶
string xpath
The XPath of the nodes to format.
string separator
The string placed between the formatted results.
string template
Template to apply to each node. XPath expressions in the template are relative to that node.
object options optional
Optional template options, as in Xml.Format.
Returns¶
The joined results. Returns an empty string when no node matches.
Remarks¶
Available only in server scripts.
Examples¶
Build a line summary¶
1 2 | |
Build HTML table rows for a message body¶
1 2 | |