当前位置:网站首页>xml相关面试题
xml相关面试题
2022-06-23 09:33:00 【Linging_24】
https://zhuanlan.zhihu.com/p/33804163
https://blog.csdn.net/tanwei4199/article/details/24006275
1、什么是XML
可拓展标记语言,它用于进行数据传输和存储,你可以自定义标签,只需要满足<>闭合</>即可。
2、XML与HTML的区别

3、XML用于传输数据,那么它与JSON的区别?
- XML文件格式复杂,比较占宽带,服务器端与客户端解析xml话费较多的资源和时间.
- JSON文件格式压缩,占宽带小
4、什么是XPath
用于从XML中检索定位元素和属性。它有自己的语法和规则。
5、DOM和SAX解析器有什么区别
DOM加载XML的方式为将整个XML文件以树型结构的方式加载进内存,不合适加载大型的,可以进行随机访问XML的元素。
SAX加载XML的方式为事件驱动型,将XML文件部分加载进内存,适合处理大型的文件,不能对XML进行增删改操作,解析时只能从头到尾执行一遍,不能随机访问。
边栏推荐
- Redis学习笔记—遍历键
- Thin film interference data processing
- The difference between ARM processor and 51 single chip microcomputer programming
- [geek Challenge 2019] hardsql
- Gesture recognition based on mediapipe
- Cesium加载正射影像方案
- 薄膜干涉数据处理
- Use of type dependent names must be prefixed with 'typename'
- Redis学习笔记—数据类型:有序集合(zset)
- ARM处理器与51单片机程序编写的区别
猜你喜欢
Redis learning notes - AOF of persistence mechanism

Use Base64 to show pictures

ionic5錶單輸入框和單選按鈕

Redis学习笔记—客户端通讯协议RESP

学习SCI论文绘制技巧(E)

The sliding window of the force button "step by step" (209. sub array with the smallest length, 904. fruit basket)
Redis learning notes pipeline

cooding代码库的使用笔记
Redis learning notes - single key management

什么是闭包函数
随机推荐
文件的打开新建与存储
太阳塔科技招聘PostgreSQL数据库工程师
[MRCTF2020]Ez_ bypass
Custom tag - JSP tag Foundation
Ionic5 form input box and radio button
Best time to buy and sell stock
The usage of lambda of C
[wangdingbei 2020 Qinglong formation]areuserialz
学习SCI论文绘制技巧(F)
三层架构与SSM之间的对应关系
位绑定
Subscript operator of map
map的下标操作符
RBtree
Redis learning notes - detailed explanation of redis benchmark
GPIO初识
Chain representation and implementation of linklist ---- linear structure
Web -- Information Disclosure
Gesture recognition based on mediapipe
Redis学习笔记—数据类型:字符串(string)