Hi,
I am using Qt 4.3.
How can I use QDomElement in Qt.4.3.

I use like this,
I declare a structure in my header file

public:
struct _Configuration {
QDomDocument Document;
QDomElement Root;
QDomElement Defaults;
QDomElement VideoDevices;
QDomElement AudioDevices;
} Configuration;


and in my .cpp file I write the code like this,

QDomElement elem;
elem = Configuration.Document.createElement("videodevice" );
elem.setAttribute("name", name);
elem.setAttribute("node", node);
qDebug()<<" elem is " << elem.isNull();
Configuration.VideoDevices.appendChild(elem);

when I run my program, it display the message like this,

elem is false // elem is Not Null

Calling appendChild() on a null node does nothing.

why this message " Calling appendChild() on a null node does nothing. "
can you help me please for solving this probs.....
Thankyou