The right way to access this method is by casting your Document object
into a DocumentTraversal.
In order to be safe, you can protect this cast operation with some java
test such as instanceof or a call to the DOM method called "supports".
See 
description of the Node interface at
http://www.w3.org/TR/1999/CR-DOM-Level-2-19991210/core.html#ID-1950641247
-- 
Arnaud  Le Hors - IBM Cupertino, XML Technology Group

Reply via email to