Click here to Skip to main content
15,902,891 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
My xml file is

XML
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<User>
<UserName>naveen712</UserName>
<Password>123456</Password>
<RollNo>02098100</RollNo>
<FirstName>naveen</FirstName>
<LastName>chowdary</LastName>
<Email>naveenchowdary712@yahoo.com</Email>
<Cell>9700787455</Cell>
<Phone>9866511568</Phone>
</User>


I want to retrieve the password value from this file. How can i do that in java??
Posted

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900