"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]
- Casting DOM_Node to DOM_Element Arnold, Curt
- Re: Casting DOM_Node to DOM_Element John Snelson
- RE: Casting DOM_Node to DOM_Element David E. Cleary
- Re: Casting DOM_Node to DOM_Eleme... Miroslaw Dobrzanski-Neumann
- Re: Casting DOM_Node to DOM_E... Ryan Koss
- Re: Casting DOM_Node to ... Andy Heninger
- Re: Casting DOM_Node... Ryan Koss
- RE: Casting DOM_Node to DOM_Element Sean Forde
- Re: Casting DOM_Node to DOM_Element Jason E. Stewart
- Re: Casting DOM_Node to DOM_Eleme... Andy Heninger
- RE: Casting DOM_Node to DOM_Element David_N_Bertoni
- RE: Casting DOM_Node to DOM_Element peiyongz
- RE: Casting DOM_Node to DOM_Element David_N_Bertoni
- RE: Casting DOM_Node to DOM_Element peiyongz
- RE: Casting DOM_Node to DOM_Element Arnold, Curt
