Subj : Synchronet Javascript and reading XML
To : All
From : KenDB3
Date : Wed Jul 27 2016 04:36 pm
Hello folks,
I'm rather stuck on something. Is there a way to read an XML file using the
Synchronet Javascript model?
JSON has the lovely JSON.parse(), but I'm not sure how to read the data, or
maybe convert it into JSON to make things easier. I even noticed that
XMLHttpRequest is not defined, while HTTPRequest is defined.
A lot of the code snippets I find tend to use things in the DOM and has things
like hasChildNodes which is not defined in Core JS or Sync.
So, I was wondering if anyone else has tried to do this and has a solution, or
at least some advice to give.
For reference, I am trying to grab the data found here:
http://www.hamqsl.com/solarxml.php
If I can turn into something usable by Sync, that would be awesome.
~KenDB3