The lingo.xml files contain elements that correspond to elements in the nonlocalized XML files. Because the lingo.xml files are merged with the nonlocalized files to create HTML pages, the file elements coincide with the HTML tag names used in the HTML files of the PT application. Internet Explorer cannot interpret XML tags intrinsically, but because HTML is by definition a subset of XML, using standard HTML tags as XML elements ensures that the browser can interpret the output of the XML file after it is merged with the lingo.xml file.
The Document, or root, element of the lingo.xml file is the <UIElement> element. Below the root reside ten child elements, each of which has a single child element whose name coincides with an HTML element. Some elements have attributes that provide functionality, such as mapping certain <INPUT> elements to database tables. Each element contains an expando attribute called LID (Localization ID), which contains an identifier used to match the value in each element in the lingo.xml file to the corresponding element in the nonlocalized XML file with which it is merging. Nonlocalized XML File Elements discusses the LID attribute in detail.
The following table lists the child elements of each lingo.xml file.
Child of <UIElement> | HTML element contained within |
---|---|
<SCRIPTS> | <SCRIPT> |
<TITLES> | <TITLE> |
<INPUTS> | <INPUT> |
<TEXTAREAS> | <TEXTAREA> |
<SELECTS> | <SELECT> |
<OPTIONS> | <OPTION> |
<BUTTONS> | <BUTTON> |
<IMAGES> | <IMG> |
<ANCHORS> | <A> |
<LABELS> | <LABEL> |