USA
800 691 9120
UK
01225 704844
We use cookies on our website to analyze website usage and to help secure the website against misuse. Advertising and functional cookies are not used in our site or our web application products.
By clicking “Accept Essential Cookies Only”, you consent to us placing these cookies.
Convert the XML buffer to an HTML table string
Renders the current XML document (mdoc) as a styled HTML table with configurable headers, column names, and CSS class prefixes. The result is placed in the result buffer. If a column name list is supplied, those names become the table header and excess columns can be trimmed.
| Parameter | Description |
|---|---|
| cmd | 1 to remove the "a" and "b" flag fields from output, 0 to include them |
| Argument 0 | CSS class prefix applied to table, thead, tr, th, tbody, td elements |
| Argument 1 | 1 to include column headers derived from the first XML record's field names, 0 to exclude headers |
| Argument 2 | 1 to untag (decode) the column header names, 0 to leave them as-is |
| Argument 3 | CSV list of explicit column header names; overrides headers derived from XML tags |
| Argument 4 | 1 to ignore columns beyond the count defined by argument 3, 0 to include all |
XmlToHtml "1 to remove the "a" and "b" flag fields from output, 0 to include them", "CSS class prefix applied to table, thead, tr, th, tbody, td elements", "1 to include column headers derived from the first XML record's field names, 0 to exclude headers", "1 to untag (decode) the column header names, 0 to leave them as-is", "CSV list of explicit column header names; overrides headers derived from XML tags", "1 to ignore columns beyond the count defined by argument 3, 0 to include all"