FP | 7.1 Details on the FP |
|
|
In the following file "MAIN.HTM" of "Example8" two frames are used.
The content of each frame is stored in a separate HTML file:
TOP.HTM
UNTEN.HTM
Each HTML file can be edited separately. Both HTM files show PLC data but the TOP.htm site is automatically updated every second.
7.1.17 Notes on XML Files with PLC DataThe FPThe FP
The XML file format is a sort of ASCII text file designed for data exchange (data import/export, data base interface …). An XML file contains only structured data and not style or format information.
The XML file format is a sort of ASCII text file designed for data exchange (data import/export, data base interface …). An XML file contains only structured data and not style or format information. An XSL file with style and format information is needed to transform an XML into a different file (display) format. The "transformNode()" function of the Microsoft Internet Explorer is used to take the XML data and an XSL format definition to generate an HTML page.
The XML / XSL conversion is demonstrated in "Example14".
XML file handling is carried out in four steps (based on "Example14"):
1.For example, the user generated XML file (including PLC data tags) "Producn.xml" may look like:
97