Would it make sense to initialize the DOMDocument in the setDocument() method of Zend_Dom_Query instead of on every queryXpath() call?

The document is needed to make any queries and in my Zend_Dom_Query subclass I need access to the DOMDocument to make changes to it and be able to query it again efficiently.

Christoph

Reply via email to