"Sean Forde" <[EMAIL PROTECTED]> writes:

>  
> > 
> > I haven't found a good way to do the equivalent of:
> > 
> >         DOM_Element childElem = (DOM_Element) node;
> > 
> > with Xerces-C.  I think you could do somehting like:
> > 
> >         DOM_Element childElem = *((DOM_Element*) &node);
> >
> 
> Try this:
>  
>       DOM_Element childElem = (DOM_Element&) node;
> 
> 
> it works just fine.

Would dynamic_cast<> be appropriate here?

   DOM_Element childElem = dynamic_cast<DOM_Element&> node;

jas.

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

Reply via email to