Re: Files unformatted
Brought to you by:
bs_php,
nigelswinson
From: Nigel S. <nig...@us...> - 2002-07-22 19:58:28
|
That's odd, this doesn't happen for me. If I use the use cases test harness, it calls: $xPath->exportToFile($xmlDirectory.$HTTP_POST_VARS['XmlFile'].'.new.xml'); And the gui gives you a setting to toggle the "skip whitespace option". If I don't use "skip whitespace" then the output is as it was for the input. If I use skip whitespace, then the output is "pretty printed". In neither scenario that I can see does it junk the whitespace :o/ So no by no means was this the intended behaviour. Could you package up a php file that demonstrates the problem as concisely as possible and we can see if this is a bug on all systems, or just yours, and if there is some way we can code round to make it work? Much appreciated, Thanks, Nigel =========================== For the most recent version of Php.XPath, and an archive of this list visit: http://www.sourceforge.net/projects/phpxpath ----- Original Message ----- From: Jens Habermann To: php...@li... Sent: Monday, July 22, 2002 12:56 PM Subject: Files unformatted I downloaded the new version (v3.2) of the class an half hour ago and now i had to realise that the file output is no longer formatted. Example: (old php.xpath output to file) <aaa> <bbb/> <ccc>text</ccc> </aaa> (new php.xpath output to file) <aaa><bbb/><ccc>text</ccc></aaa> I cannot believe that this was intended... |