Reply to Re: changing indentation with DOMDocument

Your name:

Reply:


Posted by Jeremy on 01/12/08 01:31

Jeremy wrote:
>
> You want preserveWhiteSpace = false and formatOutput = true (I know,
> it's weird.

Maybe not so weird, now that I think about it. preserveWhiteSpace =
true tells it to preserve whitespace text nodes to avoid changing the
meaning of the document. Indenting the document does in fact add
whitespace text nodes, which is a far cry from preserving them.

Jeremy

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация