Yeah, that would have been my first guess, but I don't see anything in the docs that says that. Am I just not seeing it, or is this a docs bug?
Roy Smith, Senior Software Engineer [EMAIL PROTECTED] +1 914 580 3427 www.smarts.com -----Original Message----- From: Gareth Reakes [mailto:[EMAIL PROTECTED] Sent: Thursday, December 23, 2004 5:23 AM To: xerces-c-dev@xml.apache.org Subject: Re: Tryingto grok 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]