scotteh/php-dom-wrapper

Using replaceWith across Documents?

Closed this issue · 1 comments

Hi,

Is it possible to use replaceWith and other similar methods across Documents? Are there any potential hiccups?

I have some code I'd like to insert which would be far easier to write and insert as html then build each element and set all attributes independently. I'm wondering if I can load it in a separate Document and then transfer or is there an easier way to do this?

Thanks!

I have resolved this issue using html()