title: Read functioning value from XML file using java
body: <p>I have 2 XML file . In one XML file is the form  which contains  x and y coordinate values . In second XML file contains all the functioning/operation related to first XML which gives an output as an graph image . </p>
  
  <p>I need to know how can I  read the function XML  file specially for functioning in java program on button click ? I know to parse , but just normal parsing will work for the operation. What libraries do I have to pass for this ? </p>
  
  <p><em>The functioning part is already there in XML . I just need to call it to show output.</em></p>
  
  <p><strong>part of form XML which will be used to save x and y coordinate:-</strong></p>
  
  <pre><code>&lt;cont format="%9.2f" hotlink="true" name="cont_2" refvar="gud/_ZSFR[29]" type="float" width="20" xpos="545" ypos="454"&gt;
              &lt;PROPERTY min="0"/&gt;
              &lt;PROPERTY max="5000"/&gt;
          &lt;/cont&gt;
  </code></pre>
  
  <p><strong>part of <em>function xml</em> file which will actually do operation of generating image by passing those <em>form xml</em> x and y values:-</strong></p>
  
  <pre><code>&lt;function name="string.length" return="filenamelength"&gt;file_name&lt;/function&gt;
      &lt;IF&gt;
          &lt;CONDITION&gt;filenamelength&gt;=1&lt;/CONDITION&gt;
          &lt;THEN&gt;
              &lt;op&gt;new1content=new1content+_T"\\nR250="+_F%.3f"gud/_ZSFR[29]"&lt;/op&gt;
              &lt;op&gt;new1content=new1content+_T"\\nR251="+_F%.3f"gud/_ZSFR[28]"&lt;/op&gt;
  &lt;function name="doc.exist" return="mpf1ok"&gt;_T"\mpf\1.mpf" &lt;/function&gt;
  </code></pre>