User Guide : Map Connectors : Source and Target Map Connectors : HTML
 
Share this page             
HTML
HTML is one of the data publishing file formats used in many web browser applications, such as Internet Explorer. The integration platform can write HTML files in specific structured formats.
To read HTML data sources
HTML is not available as a source connector. However, you can read HTML data sources by using one of three methods:
To connect to a web site page with HTML Source code: For details on the procedure, search for the word "URI" in the documentation.
To read an HTML file, you may choose a file-based connector, such as ASCII (Fixed), ASCII (Delimited), Excel 97, or XML. For procedural information, see the specific sections for those connector types.
See Also
Intermediate Methods to Connect to Data Formats
Connector-Specific Notes
When HTML is your target connector, the maximum number of fields that can be transformed is 255 fields.
HTML is not supported as a source connector.
Property Options
You can set the following source (S) and target (T) properties.
Property
S/T
Description
Index
T
Setting this option to true (the default) causes the integration platform to create a list of hypertext-linked keys at the beginning of the HTML document you are writing. The keys are the data in the first field of your target schema. Currently, a limit of 16,000 key entries is allowed.
After the HTML document is created, you can open the document in your browser and click the key entries to jump down to the appropriate block of information in the body of the document.
Mode
T
The mode options allow you to select the format in which the integration platform writes out the HTML file. The following options are available:
List (default) – Writes out the information in a list format. Each field is written to a new line in the document (long text wraps).
Label – Writes out the field name (in bold) and the data for each record. A colon is inserted between the field name and the data. Each field is written to a new line in the document (long text wraps).
Table – Writes out the data in a 2-dimensional matrix format. This format is supported in HTML 3. This format is particularly appropriate for data publishing projects involving such items as part numbers and price lists.
TableBorder
T
Turns the table border on or off. Off (false) is the default. If set to true, a border is generated around the table (set the border attribute to 1 in the Table element). This property only works if the Mode property is set to Table (see Mode above).
CodePage
T
This translation table determines which encoding to use for reading and writing data. The default is ANSI, the standard in the US.
Data Types
All data in an HTML file is Text.