I have xml contents as below and how to get the value of userName or password
<connect>
<connectconfig>
<context>
<config name="testPDF" value="test.demo.demo1"/>
<config name="url" value="test.demo.server@pdf1.server1"/>
<config name="userName" value="userDemo"/>
<config name="password" value="userDemo"/>
</context>
<connectconfig>
<connect>
Thank all !