Re: Problems with XML_Transformer

From: Date: Fri, 07 Mar 2003 11:10:52 +0000
Subject: Re: Problems with XML_Transformer
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-14133@lists.php.net to get a copy of this message
On Fri, 2003-03-07 at 11:05, Alan Knowles wrote: > one of the tricks I found was to return an array - this prevented the > reparsing of the return value.. (not sure why it's on by default..) I think it would be better to turn recursive operation off, by using overloadNamespace() third parameter. Instead of doing: $trans->overloadNamespace('text', $txt); You should do: $trans->overloadNamespace('text', $txt, false); If you wish to turn recursive operation off completely (not namespace-based) you can also use the constructor parameter: $trans = new XML_Transformer(array('recursiveOperation' => false)); Regards -- Bruno Pedro PTM.com Get my public key here: http://search.keyserver.net:11371/pks/lookup?op=get&search=0x9FEECDC8

Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
« previous php.pear.dev (#14133) next »