The following code snippet should work:
#include
using namespace xercesc;
int foo()
{
DOMNode *anode;
if (anode->getNodeType()==DOMNode::ELEMENT_NODE)
{
DOMElement *elem= (DOMElement *)anode;
}
else
{
// Oh dear
}
}
This tatic has worked for me in the past
The following code snippet should work:
#include
using namespace xercesc;
int foo()
{
DOMNode *anode;
if (anode->getNodeType()==DOMNode::ELEMENT_NODE)
{
DOMElement *elem= (DOMElement *)anode;
}
else
{
// Oh dear
}
}
This tatic has worked for me in the past
non xerces) headers and I would
probably have to eat my hat
-Vinayak
> -Original Message-
> From: David N Bertoni/Cambridge/IBM
> [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 25, 2003 12:10 PM
> To: [EMAIL PROTECTED]
> Subject: Re: help me ge
> I am wasting way too much time integrating my app with the
> xerces parser. To add to my woes, I am facing compiler different
> compiler errors for different projects that use the same xerces
> code... :-) Can someone help me fix these errors the easy way ?
Was it really necessary to include
I am wasting way too much time integrating my app with the xerces parser. To add to my
woes, I am facing compiler different compiler errors for different projects that use
the same xerces code... :-) Can someone help me fix these errors the easy way ?
I am trying..
DOMNode *n // it is a valid d