Parameters
    $templateFileSpec - The template file.
    $sections - The data sections.
    
    Syntax
    
    
      
        
          | PHP | 
          
            
              public function ProcessTemplate(string $templateFileSpec , LJCSections $sections) : ?string
             | 
          
        
      
     
    
    
      Processes the Template and Data to produce the output string.
    
    
    Example
    
    
      
        
          | PHP | 
          
            
              
 include_once "LJCRoot.php";
 $prefix = RelativePrefix();
 include_once "$prefix/GenTextLib/LJCGenTextLib.php";
 include_once "$prefix/GenTextLib/LJCGenTextSectionLib.php";
 
 // $sections is an LJCSections object.
 $sections = LJCSections::Deserialize("Sections.xml");
 
 $genText = new LJCGenText();
 $templateFileSpec = "GenDataLib\Templates\ClassTemplate.html";
 $outputString = $genText->ProcessTemplate($templateFileSpec, $sections);
             | 
          
        
      
     
    
    
      Copyright © Lester J. Clark and Contributors.
      Licensed under the MIT License.