Selected DOM Topics

In XMLC programming, the DOM is the key to the separation of logic and markup. If you understand the strategy behind the DOM, then you'll spend less time trying to work around it; which appears to be a natural tendency, especially for those who are used to embedding markup in Java.

Rather than repeat the DOM discussion from Chapter 2, we're going to focus on some key concepts around the DOM, including the role of the Node interface and how HTML entities are handled.

DOM Structure

The DOM is an application programming interface for both HTML and XML documents. It supports all the pre-defined interfaces necessary to represent a complete markup-based document. It was designed with an object-oriented programming language in mind. ...

Get Enhydra XMLC™ Java™ Presentation Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.