title: XML parsing Java (Android)
body: <p>I have XML-request from web service. It looks like this. So, how can I get orderId value? I never work with XML in Java.</p>
  
  <pre><code>&lt;order1s uri="http://mywebsite/rest/create_order"&gt;
  &lt;order1 uri="http://mywebsite/rest/create_order/401/"&gt; 
  &lt;customer uri="http://mywebsite/rest/create_order/401/customer/"&gt;
  &lt;name/&gt;
  &lt;passengerId&gt;123&lt;/passengerId&gt;
  &lt;phone/&gt;
  &lt;rating&gt;0.0&lt;/rating&gt;
  &lt;restToken&gt;
  985y3289y5v43535v032m0v3v0b0jcrmjsa9w20m02umc3
  &lt;/restToken&gt;
  &lt;surname/&gt;
  &lt;/customer&gt;
  &lt;offerCollection uri="http://mywebsite/rest/create_order/401/offerCollection/"/&gt;
  &lt;orderId&gt;401&lt;/orderId&gt;
  &lt;orderWaypointsCollection uri="http://mywebsite/rest/create_order/401/orderWaypointsCollection/"&gt;
  &lt;orderWaypoints uri="http://mywebsite/rest/create_order/401/orderWaypointsCollection/null/"&gt;
  &lt;isStartPoint&gt;true&lt;/isStartPoint&gt;
  &lt;latitude&gt;50.505463&lt;/latitude&gt;
  &lt;longitude&gt;30.44121&lt;/longitude&gt;
  &lt;norder uri="http://mywebsite/rest/create_order/401/orderWaypointsCollection/null/norder/"/&gt;
  &lt;/orderWaypoints&gt;
  &lt;orderWaypoints uri="http://mywebsite/rest/create_order/401/orderWaypointsCollection/null/"&gt;
  &lt;isStartPoint&gt;false&lt;/isStartPoint&gt;
  &lt;latitude&gt;50.4501&lt;/latitude&gt;
  &lt;longitude&gt;30.5234&lt;/longitude&gt;
  &lt;norder uri="http://mywebsite/rest/create_order/401/orderWaypointsCollection/null/norder/"/&gt;
  &lt;/orderWaypoints&gt;
  &lt;/orderWaypointsCollection&gt;
  &lt;status&gt;1&lt;/status&gt;
  &lt;toDate&gt;19/05/2011 17:49:12&lt;/toDate&gt;
  &lt;toNow&gt;true&lt;/toNow&gt;
  &lt;/order1&gt;
  &lt;/order1s&gt;
  </code></pre>