"Christian Stocker" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > http://www.w3.org/TR/DOM-Level-2-Core/core.html#Core-Document-importNode > > explains it all quite good. And it's no guarantee, that it works in php5, > if it works in JS (the JS implementations aren't flawless ;) )
I think it is reasonable to ask for the one or two lines of PHP code that solves the problem. As I have said, I did try to do it myself. I do realize that the JavaScript solution might use a non-standard extension. There is an article someone found (that uses Java, not JavaScript) that does say that importNode is needed, but I don't know how to convert that sample code to PHP also. We could discuss that too, but I am still not sure if this (the internals) newsgroup/forum is where that should be done. So again, if these replies should be in the other forum, then I am sorry for replying in this forum. If someone has a suggestion for how to get the replies in the other forum (if that is where they belong) then I will do the best I can. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php