Hello,
as some of you may know I'm taking an app
from xerces 1.7.0 towards 2.5.0. In the past
one could have a function receiving a reference
to a DOMElement and modify it like this
(with underscores in 1.7.0)
void myFunc(DOMElement& e1, DOMElement& e2)
{
e1 = doc.doSomethingThatReturnsElement();
e2 = doc.doSomethingElseThatReturnsElement();
}
How would I go about doing the same in, say, 2.1.0 ?
There the DOM functions usually return a pointer
to a DOMElement. Hence this won't compile
anymore...
void myFunc(DOMElement& e1, DOMElement& e2)
{
e1 = doc->doSomethingThatReturnsElement(); // compiler error
e2 = *(doc->doSomethingThatReturnsElement());//compiler error here
too
}
I'm on VS7.1. and Win2000.
TIA,
Markus
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]