Title: Tryingto grok

Im having trouble understanding how to use DOMDocumentTraversal::createNodeIterator(),  specifically, what to use for the filter argument.

I want to traverse every node.  The only way I see to do this is to subclass DOMNodeFilter and write an acceptNode() method which always returns FILTER_ACCEPT.  This seems like a lot of work for what seems to me should really be the default condition.  I get the feeling I must be missing something.

Roy Smith, Senior Software Engineer

[EMAIL PROTECTED]

+1 914 580 3427

www.smarts.com

Reply via email to