GoFiler Legato Script Reference
Legato v 1.5b Application v 5.24b
|
Table of Contents | < < Previous | Next >> |
Chapter Eleven — SGML Functions (continued)
CompareHTMLCreateMerged Function
Overview
The CompareHTMLCreateMerged function compares a base HTML file to a revised HTML file and generates another HTML file that shows the revisions.
Syntax/Parameters
Syntax
int = CompareHTMLCreateMerged ( string base, string revised, string result,
[boolean casing],
[boolean spaces], [boolean styles],
[boolean
entities], [boolean coding] );
Parameters
base
A string to a qualified filename of the base file.
revised
A string to a qualified filename of the revised file.
result
A string to a qualified filename of the resulting file.
casing
A boolean indicating whether the result should show changes in letter casing. Default value is false.
spaces
A boolean indicating whether the result should show changes in white spacing. Default value is false.
styles
A boolean indicating whether the result should show changes in styling. Default value is false.
entities
A boolean indicating whether the result should show changes in character entity values. Default value is false.
coding
A boolean indicating whether the result should show changes in HTML tag coding. Default value is false.
Return Value
An int as a ERROR_NONE (0) for no error or a formatted error code.
Remarks
The resulting file is an HTML file that uses <INS> and <DEL> tags to show changes made from the base in the revised document. If the file has no changes there will be no <INS> or <DEL> tags. Replaced text is shown as sequential <DEL> and <INS> tags.
The styles option is not compatible with the coding option. If both are set the coding option will take precedence. The Compare HTML function will translate the HTML into a simplified text and compare the results. This compares the content of the HTML and not the formatting of the code. If code is to be compared instead the coding option should be used.
Related Functions
Platform Support
Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL
Legato IDE
Table of Contents | < < Previous | Next >> |
© 2012-2024 Novaworks, LLC. All rights reserved worldwide. Unauthorized use, duplication or transmission prohibited by law. Portions of the software are protected by US Patents 10,095,672, 10,706,221 and 11,210,456. GoFiler™ and Legato™ are trademarks of Novaworks, LLC. EDGAR® is a federally registered trademark of the U.S. Securities and Exchange Commission. Novaworks is not affiliated with or approved by the U.S. Securities and Exchange Commission. All other trademarks are property of their respective owners. Use of the features specified in this language are subject to terms, conditions and limitations of the Software License Agreement.