Live cycle: ----------- xmlDocCore: Page reques: ------------ processHiearchy(); learnHiearchy(); & start page if (static) generate filenames for files; stlc_tpl_parse_file(design_page_template); Tpl: xmlDoc.getElement (objectid) //returns contains of objectid xmlDoc.linkTarget (linkid) // returns id used in html tag for link, and create record that this link has used target xmlDoc.link // create url for object xmlDoc.linkName // return name for objectid xmlDoc.designPath // return path to current design files if static also copy file used files // if file is in css or otherwise call this function in comment with file as argument xmlDoc.systemLink // create link for system design files (startpage,error,hiearchy_tree) xmlDocGetElement: ---> push set_storage_id; | ---> set new set_storage_id; | ---> learnElement(id); if element is mising page, processPage(id); | ---> registerLinks (xml_pageid,xml_itemid,text,false); | ---> registerElements (xml_pageid,xml_itemid,text,true); | ---> xmlDocProcessLink: if mising link dst | ---> processPage(id); // if page is not in hiearchy link_dst is market as not in build | ---> return Tpl output: | ---> pop storage_id: