The XML DOM API is a standard XML-parsing API, and it is the most commonly used when programming XML applications.
XML DOM API是一个标准的xml解析api,而且它最常用于编写XML应用程序。
Unlike SAX, the DOM API permits editing and saving an XML document back to a file or stream.
与SAX不同,DOM API允许对XML文档进行编辑并保存为一个文件或者流。
Directly embedding DOM API calls in the application's business logic is inefficient since any changes in the XML schema would require extensive changes to application code.
在应用程序的业务逻辑中直接嵌入DOM API是一种低效率的做法,因为对XML模式的任何修改都要求对应用程序代码做大量修改。
For example, SAX and DOM have nothing to do with how XML documents are rendered; or the parser you're using must be compatible with your processing API (SAX or DOM).
例如,SAX和DOM同如何呈现XML文档无关;又例如,您正在使用的解析器必须与您的处理API (SAX或DOM)兼容。
When you use an API like DOM or JDOM, you work with the structure of the document continuously, both when you load the XML and when you access that data.
使用DOM或者JDOM之类的API时,不管是加载XML还是访问数据都需要不断地处理文档的结构。
An instance of DocumentBuilderFactory is obtained, which defines a factory API that enables applications to obtain a parser that produces DOM object trees from an XML document.
我们获取了一个DocumentBuilderFactory实例,它定义了一个工厂api,用于支持应用程序获取解析器,可以通过XML文档生成dom对象。
This tutorial demonstrates the use of the DOM Core API as a means for reading and manipulating XML data using the example of a series of orders from a commerce system.
本教程将使用取自商业系统的一系列订单例子,展示如何使用DOMCoreAPI作为读取和处理XML数据的手段。
Learn to use the document Object Model (DOM), a tree API that provides direct access to parts of an XML document.
学习使用文档对象模型(Document Object Model, DOM),使用这种树api可以直接访问XML文档的各个部分。
Thus, in these situations, it is necessary to supplement XJConf with the DOM extension in PHP, which provides an API to dynamically construct an XML tree and write it to a file.
因此,在这些情形下,需要在php中为XJConf补充DOM扩展,这个扩展可以提供API动态构建xml树并将它写入文件。
Dom (specifically xml.dom.minidom) offers a rather heavy API for OOP-style manipulation of XML documents — with methods common across dom implementations in many programming languages.
dom(特别是xml . dom .minidom)为xml文档的OOP -风格操作提供了相当繁重的API—有一些方法共同用于许多编程语言中的dom实现。
DOM is generally much easier to master than Simple API for XML (SAX) because it doesn't involve callbacks and sophisticated state management.
通常,DOM比SimpleAPIforXML (SAX)更容易掌握,因为它没有涉及回调和复杂的状态管理。
DOM is generally much easier to master than Simple API for XML (SAX) because it doesn't involve callbacks and sophisticated state management.
通常,DOM比SimpleAPIforXML (SAX)更容易掌握,因为它没有涉及回调和复杂的状态管理。
应用推荐