This is probably a painfully simple question, but bear with me. :)
 
I'm starting to use dom4j, and I want to parse an xml file, returning a org.dom4j.dom.DOMDocument object.  From the javadocs and the quickstart guide, I can easily see how to return a org.dom4j.Document object, but I need the functionality of the DOMDocument.  I know that the DOMDocument implements the Document interface - can I just cast the returned Document to a DOMDocument?  Is it already returning a DOMDocument and I just don't know?  I feel pretty stupid here, 'cause I couldn't find the answer in the old posts either.
 
Thanks in advance.
 
John Fletcher

Reply via email to