I got a simple question here, but it is confusing me a lot..
Can i nest a dom Document objective in another Dom Document object?
My answer to the question is NO, should be one tree with child node , not a tree with child trees..It is only my answer and i am not expert,
I need the exact answer…Am I thinking right about nesting?
Explain Please…
From the DOM spec:
I take this fairly clearly to mean that, according to the DOM spec, a
DOMDocumentobject (which implements DOM’sDocumentinterface) cannot be nested within another. I’m not certain, but I’m fairly sure the PHP developers would not have implemented this in any other way.