Differences
This shows you the differences between two versions of the page.
|
projs:clans:docs:mergenewpersoninxml [2014/01/26 23:11] jfeng0 created |
projs:clans:docs:mergenewpersoninxml [2014/01/28 10:58] (current) ytchan2 |
||
|---|---|---|---|
| Line 5: | Line 5: | ||
| ===== Parameters ===== | ===== Parameters ===== | ||
| ^ Parameter ^ Necessity ^ Type ^ Description ^ | ^ Parameter ^ Necessity ^ Type ^ Description ^ | ||
| - | | person | required | string | person name | | + | | person | required | int | person id | |
| | information_list | required | list | the new information list that need to be added | | | information_list | required | list | the new information list that need to be added | | ||
| | update_date | not required | string | date when updating the information | | | update_date | not required | string | date when updating the information | | ||
| Line 11: | Line 11: | ||
| ===== Output ===== | ===== Output ===== | ||
| - | Updated person xml files. | + | Person xml files with new added information. |
| ===== Implementation ===== | ===== Implementation ===== | ||
| Line 23: | Line 23: | ||
| - updateTLNode(): Update timeline node. | - updateTLNode(): Update timeline node. | ||
| - updateEduNode(): Update education node. | - updateEduNode(): Update education node. | ||
| - | - createMyTextNode(): Create text content node. | + | - createMyTextNode(): Create text content for the node. |
| ===== Related Work ===== | ===== Related Work ===== | ||
| XML DOM Tutorial http://www.w3schools.com/dom/ | XML DOM Tutorial http://www.w3schools.com/dom/ | ||