====== mergeNewPersonInXML(person, information_list, update_date, source) ====== ===== Description ===== Merge new information into existing person's xml file. ===== Parameters ===== ^ Parameter ^ Necessity ^ Type ^ Description ^ | person | required | int | person 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 ===== Person xml files with new added information. ===== Implementation ===== - createAssetNode(): Create asset node which including income and finance subnodes. - createIncomeNode(): Create income node. - createFinanceNode(): Create finance node. - createNpidNode(): Create new pid node. - createRaceNode(): Create race node. - createPoliticalNode(): Create political node. - createTitleNode(): Create title node. - updateTLNode(): Update timeline node. - updateEduNode(): Update education node. - createMyTextNode(): Create text content for the node. ===== Related Work ===== XML DOM Tutorial http://www.w3schools.com/dom/