+ 8

why dose the new element not get appended to the xml file i made?

here is the code https://code.sololearn.com/c2a7Khyw10R6/#py on a side note, why is #document printed? i dont see it in the file

19th Dec 2018, 7:05 PM
LONGTIE👔
LONGTIE👔 - avatar
2 ответов
+ 2
Your new XML element did get appended. However, the skills list needs to be refreshed with the updated changes to the document. Just add this line again before printing the skills a second time. skills = doc.getElementsByTagName("skill")
19th Dec 2018, 7:47 PM
David Carroll
David Carroll - avatar
+ 7
David Carroll cool thanks.
19th Dec 2018, 7:52 PM
LONGTIE👔
LONGTIE👔 - avatar