|The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....|
|Home GeoPack GeoMap Class TSymbolRepository Methods ReadFromOpenXMLFile|
|See also: LoadFromFile, StoreOnFile|
The function ReadFromOpenXMLFile reads a symbol repository from the current position of the file InFile. If the parameter DataID is empty, the first <lmsymbols> tag is evaluated and read. If DataID is not empty, the entire rest of the open file InFile is read until a <lmsymbols> tag is found whose attribute "id " matches DataID (the recognition of the "id " attribute is not case-sensitive).
The function ReadFromOpenXMLFile returns TRUE if both a valid starting tag <lmsymbols> and a valid end tag </lmsymbols> has been found and the repository has been updated.