文件名称:jqXMLUtils
-
所属分类:
- 标签属性:
- 上传时间:2013-03-16
-
文件大小:1.78kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
DOM树的结束行走是这里!
这个小而快实用程序将XML文件获取通过$。ajax Javascr ipt对象,完全消除了需要使用DOM树的遍历提取数据。所有的属性和值都可以访问使用点号(.)符号。除了简化你的方式访问数据还可以进一步处理之前排序节点。该组件可以很容易地用于编写SOAP或RSS的客户机。
JSON对象是如何组装?这个工具是一个递归沃克,开始在你的文档的根并创建一个新对象为每个节点,并为每个节点属性的新领域。每当一个树沃克遇到一个文本节点或一个CDATA节点中,它赋予它的价值。文本字段的js对象(对象,该对象表示一个节点)。
-The end of DOM Tree walking is here!
This small and fast utility converts an XML file fetched through $.ajax to a Javascr ipt Object, completely eliminating a need to use DOM Tree walking to extract data. All attributes and values are accessible using dot (.) notation. Besides simplifying the way you access data you can also sort nodes prior further processing. This component can be easily used to write a SOAP or RSS client.
How JSON object is assembled?- this utility is a recursive walker that starts off at the root of your document and creates a new object for each node, and new field for each node attribute. Whenever a a tree walker encounters a text node or a CDATA within your node, it assigns it s value to a .Text field of that js object (object that represents a node). Ex: <node1>Hello World</node1> would be stored at node1.Text
这个小而快实用程序将XML文件获取通过$。ajax Javascr ipt对象,完全消除了需要使用DOM树的遍历提取数据。所有的属性和值都可以访问使用点号(.)符号。除了简化你的方式访问数据还可以进一步处理之前排序节点。该组件可以很容易地用于编写SOAP或RSS的客户机。
JSON对象是如何组装?这个工具是一个递归沃克,开始在你的文档的根并创建一个新对象为每个节点,并为每个节点属性的新领域。每当一个树沃克遇到一个文本节点或一个CDATA节点中,它赋予它的价值。文本字段的js对象(对象,该对象表示一个节点)。
-The end of DOM Tree walking is here!
This small and fast utility converts an XML file fetched through $.ajax to a Javascr ipt Object, completely eliminating a need to use DOM Tree walking to extract data. All attributes and values are accessible using dot (.) notation. Besides simplifying the way you access data you can also sort nodes prior further processing. This component can be easily used to write a SOAP or RSS client.
How JSON object is assembled?- this utility is a recursive walker that starts off at the root of your document and creates a new object for each node, and new field for each node attribute. Whenever a a tree walker encounters a text node or a CDATA within your node, it assigns it s value to a .Text field of that js object (object that represents a node). Ex: <node1>Hello World</node1> would be stored at node1.Text
(系统自动生成,下载前可以参看下载内容)
下载文件列表
jqXMLUtils.js
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.