====== addNewRecord(person,information_list, update_date, source) ====== ===== Description ===== Add new person. ===== Parameters ===== ^ Parameter ^ Necessity ^ Type ^ Description ^ | person | required | int | person id | | information_list | required | list | the information list of the new person | | update_date | not required | string | date when updating the information | | source | required | string | source of the information | ===== Output ===== New person xml files. ===== Implementation ===== - setRegularAttributes(): Set source and update attribute for the node. - setTimeAttributes(): Set begin and end time attribute for the node. - setAttributesWithType(): Set type, source and update attribute for the node. - creatEduRecordNode(): Create education record node. - createJobNode(): Create job node. - createTLRecNode(): Create timeline node. - createMyTextNode(): Create text content for the node. ===== Related Work ===== XML DOM Tutorial http://www.w3schools.com/dom/