Hi,
Sorry for the delay in replying - my wife just delivered our third child! So I've been a little distracted.
I have E_ALL turned on but didn't see these warnings. Maybe importNode() is complaining because the node was a root node (it shoudln't be) and it can't import a root node into an existing structure that already has a root node?
I just discovered the DOMDocument method createDocumentFragment() and will try it - that may be what I need.
Main Topics
Browse All Topics





by: f_o_o_k_yPosted on 2007-12-01 at 17:44:17ID: 20390026
Did you see these warnings??
Cannot import: Node Type Not Supported in C:\Users\FooKy\MyWork\www\ indexddd.p hp on line 47 Warning: DOMNode::appendChild() expects parameter 1 to be DOMNode, boolean given in C:\Users\FooKy\MyWork\www\ indexddd.p hp on line 47 value31value32 Cannot import: Node Type Not Supported in C:\Users\FooKy\MyWork\www\ indexddd.p hp on line 47 Warning: DOMNode::appendChild() expects parameter 1 to be DOMNode, boolean given in C:\Users\FooKy\MyWork\www\ indexddd.p hp on line 47 Warning: DOMDocument::importNode(): Cannot import: Node Type Not Supported in C:\Users\FooKy\MyWork\www\ indexddd.p hp on line 55 Warning: DOMNode::appendChild() expects parameter 1 to be DOMNode, boolean given in C:\Users\FooKy\MyWork\www\ indexddd.p hp on line 55 Warning: DOMDocument::importNode(): Cannot import: Node Type Not Supported in C:\Users\FooKy\MyWork\www\ indexddd.p hp on line 55 Warning: DOMNode::appendChild() expects parameter 1 to be DOMNode, boolean given in C:\Users\FooKy\MyWork\www\ indexddd.p hp on line 55
Warning: DOMDocument::importNode():
Warning: DOMDocument::importNode():
I'll check the rest of code tommorow. But it might be because of these warnings.
Try to get rid of them.
Best Regards
FooKy