code:
Sec1 = xml.selectSingleNode("/Min/name");
I'm pretty sure you want /Sec/name
code:
<Sec>
<name>0</name>
</Seg>
I spy a spelling error
code:
<Hrs>
<name>0</name>
</Hsr>
And another
And Lastly if I recall xml files are only allowed one toplevel node, and don't forget to change the xpath accordingly.
code:
<Content>
<Sec>
<name>0</name>
</Sec>
<Min>
<name>0</name>
</Min>
<Hrs>
<name>0</name>
</Hrs>
<Days>
<name>0</name>
</Days>
<Weeks>
<name>0</name>
</Weeks>
</Content>