I have XML:
<point>
...
<longitude>34.123123</longitude>
</point>
<point>
...
<longitude>11.12534534</longitude>
</point>
<point>
...
<longitude>32.567653</longitude>
</point>
<point>
...
<longitude>33.345345</longitude>
</point>
...
Task:
get values of <longitude>
in javascript (in variable).
Which is purest way?
It is possible to do it without XSLT (without making dummy elements)?
Update:
I have very badly explained.
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.
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.
How it is possible to make differently?