I have this XML code and I want to print value of UserName and Email on console.Can you help me??
<?xml version="1.0"?>
<USERS>
<User>
<UserName>abc</UserName>
<Email>abc@gmail.com</Email>
</User>
<User>
<UserName>abc</UserName>
<Email>abc@gmail.com</Email>
</User>
<User>
<UserName>abc</UserName>
<Email>abc@gmail.com</Email>
</User>
<User>
<UserName>abc</UserName>
<Email>abc@gmail.com</Email>
</User>
</USERS>