====== addNewRecord(stcok_id, information_list, update_date, source) ====== ===== Description ===== Add new information into company xml files. ===== Parameters ===== ^ Parameter ^ Necessity ^ Type ^ Description ^ | stock_id | required | int | company stock id | | information_list | required | list | the new information list that need to be added | | update_date | not required | string | date when updating the information | | source | required | string | source of the information | ===== Output ===== Company xml files with new added information. ===== Implementation ===== - createEmployeeNode(): Create employee node. - createMyTextNode(): Create text content for the node. ===== Related Work ===== XML DOM Tutorial http://www.w3schools.com/dom/