Forum Stats

  • 3,839,341 Users
  • 2,262,485 Discussions
  • 7,900,938 Comments

Discussions

How to get value in xml file with JAXB libs

vxba
vxba Member Posts: 2
edited Sep 27, 2016 3:18PM in Java Technology & XML

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="[email protected]"/>
           <config name="userName" value="userDemo"/>
           <config name="password" value="userDemo"/>
    </context>
<connectconfig>
<connect>

Thank all !

Tagged:

Answers

This discussion has been closed.