Hi there again
For some reasons, which would be too long to describe, I want to subclass
the DOMDocument class into a XMLDocument class.
In other words, XMLDocument inherits from DOMDocument.
Here's the tricky question : since the DMODocument uses a factory to be
create (createDocument method from DOMImplementationRegistry), how can I
build an XMLDocument.
Do you know if this works :
XMLDocument:: XMLDocument()
{
DOMImplementation *impl =
DOMImplementationRegistry::getDOMImplementation(XMLString::transcode("LS"));
this = (XMLDocument*) impl->createDocument();
}
If not, what solutions can I have other than creating a class that does not
inherits from DOMDocument and simply have a DOMDocument variable?
Thanks :)
--
View this message in context:
http://www.nabble.com/Oh...-Tricky-one-%3A-%29-tp23279310p23279310.html
Sent from the Xerces - C - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]