Hi,
Set the filter to null. This will have the desired effect.
Gareth
Smith, Roy wrote:
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_ <file://www.smarts.com>
-- Gareth Reakes, Managing Director Parthenon Computing +44-1865-811184 http://www.parthcomp.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]