How do I import data ?
I am very new to XML and I have never written XML code before. At work I maintain an internal website that provides information to our agents on the phones in a large call center. I wanted to create an XML file that updates itself twice daily with data from a seperate text file. For example, I want it to display foreign exchange rates twice daily. I wanted the rates to be in a simple text file that the XML file can import it from.
First, I wanted to know if this can be done or should I be approaching this in a different manner. Second, is there somewhere I can download a similar example that I can modify to my liking?
Thank-you for feedback you may have.
you will have to understand that XML itself is nothing but a fancy text file,to make it work as you desire,you will need some complimentory technologies
such as java or any other programming language.
You will need to write a program that will read the text fiel and update the xml file.
I am sure this is not what you'd expected as an answer.
Just So I Understand
Again you will need some other hard core programming language to read and write to fiels.
welll here are a few directions to read frm a text file and store in XML...
2. Use that variable in XMLDOM object and the function LoadXML()....
3. Now save it....see..its simple
...Or you could just use an HTML page to display the contents of your XML file... Here's an example:
var xmlDoc1=new ActiveXObject("microsoft.xmldom");
alert("Loading operation could not start");
USA: <span id=usadata>/span><br>
CANADA: <span id=canadadata></span>
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)