Important: The information in this document is obsolete and should not be used for new development.
Who Should Read This Document?
Organization of This Document
Apple Documentation Resources
See Also
Important: This is a preliminary document for an API in development. Although this document has been reviewed for technical accuracy, it is not final. Apple Computer is supplying this information to help you plan for the adoption of the technologies and programming interfaces described herein. This information is subject to change, and software implemented according to this document should be tested with final operating system software and final documentation. Newer versions of this document may be provided with future seeds of the API. For information about updates to this and other developer documentation, view the New & Updated sidebars in subsequent seeds of the Reference Library.
This programming topic describes the Document Object Model (DOM) and how it can be beneficial to developers using web content.
This document is intended for developers who want to learn about the Document Object Model, and how to use it in their own applications. An existing knowledge of the DOM specification, while not required, would be beneficial to developers reading this document. Links to more information on the DOM can be found in the “See Also” section.
The following article covers key concepts of the Document Object Model:
“Overview of the Document Object Model” describes the Document Object Model (DOM) and why it is relevant to web content developers.
Apple supports the Document Object Model in the Web Kit, opening its functionality to Cocoa Objective-C applications and any web pages viewed using Safari or a Web Kit view.
JavaScript developers should read the Web Kit DOM Programming Topics.
Cocoa Objective-C developer should read the Web Kit Objective-C Programming Guide.
The Document Object Model API is based on the DOM Level 2 specification provided by the W3C. As such, the reference material provided by the W3C can be very beneficial to you.
The DOM Level 2 specification is grouped into these reference documents:
The W3C’s DOM page, containing a description of the Document Object Model, its goals, and the newest specifications can be found at www.w3.org/DOM. Apple’s own DOM material, written primarily for JavaScript developers, is at developer.apple.com/internet/webcontent/dom2i.html.
A related text book resource is:
Dynamic HTML: The Definitive Reference (O’Reilly)
Also refer to the World Wide Web Consortium at www.w3.org for the latest information.
Last updated: 2006-04-04