HTML (Hypertext Markup Language) is the set of markup symbols or codes inserted in a file intended for display on a World Wide Web browser page. The markup tells the Web browser how to display a Web page's words and images.
HTML and XML are both tag based languages and XML can contain HTML content. EDS Publisher handles HTML code with HTML Fields.
A HTML Field is a field that displays HTML content located in the XML Data Source without the need to add XSLT code to match the specific tags. This option automatically detects HTML tags and applies them to the text.
HTML Fields can be included in a document from a data source:
- Using drag and drop to add the tag to the design surface;
- Converting a dynamic field to HTML Field from the contextual tab.
Insert using drag and drop:
- Open the Data Source pane;
- Select the field you wish to use as HTML Field;
- Click and hold to drag & drop the field in the Design Surface;
- From the menu, select "HTML Field":
Convert dynamic field to HTML Field:
- Insert a normal field (Insert -> Field);
- Click on the newly created field;
- From the "Dynamic" contextual tab, check the "Is HTML" box:
The rendered file in our example will display the HTML in the same way a web page will: