当前位置:网站首页>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 learning notes - redis cli explanation
- [GXYCTF2019]BabySQli
- 太阳塔科技招聘PostgreSQL数据库工程师
- Redis learning notes - traverse key
- 一个采用直接映射方式的32KB缓存......存储器课后习题
- Redis学习笔记—主从复制
- 【CTF】bjdctf_ 2020_ babyrop
- UEFI 学习3.6 - ARM QEMU上的ACPI表
- Redis learning notes - data type: ordered set (Zset)
- 线性表(SequenceList)的顺序表示与实现----线性结构
猜你喜欢

Web -- Information Disclosure

线性表(SequenceList)的顺序表示与实现----线性结构
Redis学习笔记—持久化机制之AOF

Click Add drop-down box

Correspondence between three-tier architecture and SSM
![[MRCTF2020]Ez_bypass](/img/cd/bd6fe5dfc3f1942a9959a9dab9e7e0.png)
[MRCTF2020]Ez_bypass

Custom tags - JSP tag enhancements

Sequential representation and implementation of sequencelist -- linear structure
Redis learning notes - publish and subscribe

16.系统启动流程
随机推荐
#gStore-weekly | gStore源码解析(四):安全机制之黑白名单配置解析
[MRCTF2020]Ez_ bypass
Redis学习笔记—Redis与Lua
Use Base64 to show pictures
Redis learning notes - Database Management
Redis学习笔记—数据库管理
【NanoPi2试用体验】裸机第一步
Precautions for map interface
UEFI 源码学习4.1 - PciHostBridgeDxe
Redis learning notes - AOF of persistence mechanism
[网鼎杯 2020 青龙组]AreUSerialz
基于mediapipe的手势数字识别
Subscript operator of map
One of the 12 balls is different from the others. Provide a balance and find it three times
Best time to buy and sell stock II
ThinkPHP 2. X/3.0 vulnerability recurrence
Neither rain nor sunshine
Jog运动模式
Redis learning notes - data type: Set
Pizza ordering design - simple factory model