Ah so what you are saying is initializing member variables like the way it is done in java means we are initializing them twice - first they are initialized to the default values and then set to the values we are passing in? And thus this is a waste of resources? - This makes sense?
I think I'll probably stick to QDomDocument - and do some xpath like expressions with it. The licensing thing might be tricky - but the QJSON is open source and I'm not making any changes to it so I may be fine? Some research needed on that anyway. Thank you for your help! Very very much appreciated!!!!