Re: importNode issue

From: Date: Mon, 25 Jan 2010 09:31:58 +0000
Subject: Re: importNode issue
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-301399@lists.php.net to get a copy of this message
Michael A. Peters wrote:
The only (untried) solution I can think of is to replace each carriage return with a <br /> and every space with &#160; and then replace the <pre> with a <div class='monospace'> or some such hackery before running loadXML() on it. But I would rather not do that.
Even that isn't really working but what I think I may be able to do, though it would be a PITA, is go through the list of nodes one by one and create identical nodes and append them to a node that isn't imported.

« previous php.general (#301399) next »