title: Get variable value from XML to JavaScript. Pure way
body: <p>I have XML: </p>
  
  <pre><code>&lt;point&gt;
      ...
      &lt;longitude&gt;34.123123&lt;/longitude&gt;
  &lt;/point&gt;
  &lt;point&gt;
      ...
      &lt;longitude&gt;11.12534534&lt;/longitude&gt;
  &lt;/point&gt;
  &lt;point&gt;
      ...
      &lt;longitude&gt;32.567653&lt;/longitude&gt;
  &lt;/point&gt;
  &lt;point&gt;
      ...
      &lt;longitude&gt;33.345345&lt;/longitude&gt;
  &lt;/point&gt;
  ...
  </code></pre>
  
  <p>Task: </p>
  
  <p>get values of <code>&lt;longitude&gt;</code> in javascript (in variable). </p>
  
  <p>Which is purest way?</p>
  
  <p>It is possible to do it without XSLT (without making dummy elements)?</p>
  
  <hr>
  
  <p><strong>Update:</strong></p>
  
  <p>I have very badly explained.</p>
  
  <p>XML it is dynamically formed on a server, then in the same place passes XSLT and it turns out HTML which is sent in a browser.</p>
  
  <p>Probably in HTML it is necessary to make a fictitious element in which to write down value of a longitude, then to read out its value in javascript from an element on page. </p>
  
  <p>How it is possible to make differently?</p>