Populating XML Template Files with lingo.xml Values
The functions and subroutines described in the following topics insert values from the lingo.xml file into the globalized XML template files. The code enters the Translate function from the GetFiles subroutine, which is discussed in Handling the Files.
- Translate Function loads a globalized XML template file and the lingo.xml file into XML document objects for processing.
- GetLingoValues Subroutine locates the data stored in lingo.xml that is inserted into the XML template file.
- GetNodeValue Subroutine initiates processing of XML template file elements to convert them for localized HTML files.
- AppendAttribs Subroutine modifies attributes in the XML template elements as they are converted to HTML elements.
- NodeFromID vs. SelectSingleNode discusses the advantages of using search for an id data type over pattern matches in the XML merge process.
- Using lingoSchema.xml describes how an XML schema enables the XML merge to use the NodeFromID method of the XML DOM.