The DOM Core Defined

At this point, we've examined in detail the DOM Core Level I and Level II interfaces to understand how they are used. However, we have glossed over how the DOM Level I and Level II are actually specified. In this section, we examine this issue in detail and see that DOM interfaces are specified using something known as the Interface Description Language or IDL. After all, seeing the Java descriptions is good, but sometimes we want to go right to the source.

The concept of IDL gained popularity a long time ago, in computer terms anyway, with Sun-RPC. More recently, CORBA has built on past work to create a concise IDL standard. DOM interfaces are defined using the common CORBA IDL syntax. For the most part, IDL is fairly easy ...

Get XML Development with Java™ 2 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.