Fit for Dot Net (3)

xiaoxiao2021-03-06  29

Connect to the above.

Run Fit

The rest of the document discussion uses FIT technology. In order to get more information about your Fit version. We quickly overwrite many aspects, so you can also look at the FitDocumentation to see its example, like SimpleExample.

Fit is a command line tool (see "TechnicalReference." Fit Command Line "), which allows you to contain him easily in your script. It gets a single HTML file, handles it, output the result (actually entering a file Backup, only the cell is red and green tagged)

Many business-grade tools save documents for HTML, such as .word. Only "File -> Save As" is required, then select HTML.fit to work well for HTML.

Excel can also save the document as HTML. But it saves the entire document as a huge form. As a result, Fit cannot work directly to the Excel document. You can copy the Excel document to Word. They will be across the table, and work well .

Tables and FIXTURES FIT instances are stored in the table. Fit is obtained by querying HTML

, and
tags. In general, it doesn't know how to decompose HTML. This intentional design decision allows FIT Keep simple, and more complicated, it is very difficult to see HTML work.

Fit starts from the first table of the document, then handles each table. Each table has a fixture and it. This fixture is used to handle this table. FixTure run code, make changes to their tables (such as Marked in red and green), and return results to FIT.

FixTure is written by yourself (see TechnicalReference. "FixTure Foundation"), a fixture is like a small translator in the table. Every customer creates a fix, but you can use them for multiple tables .. for Example, In The Figure, the table is processed by a fixture named "payroll.fixtures.weeklycompensation". Fit needs to know which table is executed. Put the full name of FixTure in the top cell. For example, under In the figure, the table is processed by payroll.fixtures.weeklycompensation.

(----- Not completed ----)

转载请注明原文地址:https://www.9cbs.com/read-52139.html

New Post(0)
CopyRight © 2020 All Rights Reserved
Processed: 0.045, SQL: 9