-
31
pages
-
English
-
Documents
Description
Understanding DOMPresented by developerWorks, your source for great tutorialsibm.com/developerWorksTable of ContentsIf you're viewing this document online, you can click any of the topics below to link directly to that section.1. Introduction 22. What is the Document Object Model? 43. The different types of XML nodes 84. Namespaces 115. Parsing a file into a document 136. Stepping through the 167. Editing the document 208. Outputting the document 269. Document Object Model summary 31Understanding DOM Page 1ibm.com/developerWorksPresented by developerWorks, your source for great tutorialsSection 1. IntroductionShould I take this tutorial?This tutorial is designed for developers who understand the basic concept of XML and areready to move on to coding applications to manipulate XML using the Document ObjectModel (DOM). It assumes that you are familiar with concepts such as well-formedness andthe tag-like nature of an XML document. (If necessary, you can get a basic grounding inXML itself through the Introduction to XML tutorial.)All of the examples in this tutorial are in Java, but you can develop a thorough understandingof the DOM through this even if you don't try out the examples yourself. The conceptsand API for coding an application that manipulates XML data in the DOM are the same forany language or platform, and no GUI programming is involved.ToolsThe examples in this tutorial, should you decide to try them out, require the following ...
-
Publié par
-
Langue
English