网站首页  英汉词典

请输入您要查询的英文单词:

 

单词 Simple API for XML
释义

Simple API for XML

中文百科

SAX

Simple API for XML(简称SAX)是个循序访问XML的解析器API。SAX提供一个机制从XML文档读取数据。它是除了文档对象模型(DOM)的另外一种流行选择。

实现SAX了的解析器拥有事件驱动式的API,并像流读取器那样工作。由用户定义回调函数,解析时,若发生事件的话会被调用。SAX事件包括:

事件在遇到任一XML特性时触发,以及遇到他们结尾时再次触发。XML属性也作为传给元素事件资料的一部分。

SAX运行时是单向的;解析过的资料无法在不重新开始的情况下再次读取。

英语百科

Simple API for XML SAX

SAX (Simple API for XML) is an event-driven online algorithm for parsing XML documents, with an API developed by the XML-DEV mailing list. SAX provides a mechanism for reading data from an XML document that is an alternative to that provided by the Document Object Model (DOM). Where the DOM operates on the document as a whole, SAX parsers operate on each piece of the XML document sequentially.

随便看

 

英汉网英语在线翻译词典收录了3779314条英语词汇在线翻译词条,基本涵盖了全部常用英语词汇的中英文双语翻译及用法,是英语学习的有利工具。

 

Copyright © 2004-2024 encnc.com All Rights Reserved
更新时间:2025/6/24 6:17:50