Applying the Visitor Pattern to the DOM API
Dr. D. Robert Adams, firstname.lastname@example.org
Applying the Visitor Pattern to the DOM API. Abstract: It is well known that traversing the XML DOM is a sometimes difficult and often tedious task, executing code based on data retrieved from the DOM is even more complex. In this project I will attempt to abstract much of the logic for this repetitive task. The implementation of patterns is a technique that is often used to help simplify and intellectually manage projects; the Visitor pattern seemed the most appropriate and useful to help solve this problem. Reflection also plays a key roll, and is used to determine the executed code based on the DOM node values at runtime.
Williams, Daniel, "Applying the Visitor Pattern to the DOM API" (2004). Technical Library. 109.