将值存储在xml中 [英] store values in xml
本文介绍了将值存储在xml中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我正在借助HTML和javascript开发用于硬件(caddo)的应用程序.这是一个可编程的硬件,只有512kb的内存.我想存储电压以及电流的最后五个输入值.如何使用HTML页面中的帮助javascript和XML来仅存储和使用最后五个值.
请记住,我们不能使用任何动态语言,例如java,php等.
请选择XML.
谢谢
问候
Nilesh
Hello Everyone,
I am developing an application for Hardware (caddo) with the help of HTML and javascript. this is a programmable hardware and has a memory of only 512kb. I want to store last five input values of voltage as well current. how i can store and use only last five value with the help javascript and XML in html page.
remember we cant use any dynamic language like java, php, etc.
please prefer XML.
Thanks
Regards
Nilesh
推荐答案
使用javascript编写一个txt文件,然后使用javascript读取同一文件
http://www.c-point.com/JavaScript/articles/file_access_with_JavaScript.htm [ ^ ]
有很多示例,如何编写一个文件
祝你好运:cool:
write one txt files with javascript and later read the same file with javascript
http://www.c-point.com/JavaScript/articles/file_access_with_JavaScript.htm[^]
there a lot of samples, how to write one file
good luck:cool:
这篇关于将值存储在xml中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文