Hi,
        you have to define the filter. Derive from the class and override 
the acceptNode method.

Gareth


On Wed, 13 Nov 2002, Troels Rossing wrote:

> Hi 
> 
>  
> 
> As expected, parsing an un-initialized pointer to a filter.
> 
>  
> 
> How do I create a DOMNodeFilter?
> 
> Can't find any create functions that return a filter, and since the
> DOMNodeFilter class is abstract how do I then initialize it??
> 
>  
> 
> DOMNodeFilter *filt ;
> 
> m_TreeWalker = m_DOMDocument->createTreeWalker(m_RootNode,
> DOMNodeFilter::SHOW_ALL, filt, true);
> 
>  
> 
>  
> 
> Troels Rossing
> 
>  
> 
>  
> 
> PS: Anyone know how to get access to the archive (down for maintenance
> on web for 2 days now - tried [EMAIL PROTECTED],
> but got only empty messages back). 
> 
>  
> 
>  
> 
> www.Qualiware.com
> 
>  
> 
> 

-- 
Gareth Reakes, Head of Product Development  
DecisionSoft Ltd.            http://www.decisionsoft.com
Office: +44 (0) 1865 203192



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to