You are here: Re: DOM formatOutput issues « PHP Programming Language « IT news, forums, messages
Re: DOM formatOutput issues

Posted by segfalt on 03/22/06 17:48

Yah, this actually isn't the schema I'm using at all. It was purely a
test case to generate the output example. The real schemas I'm using
are a fair amount more complex and yes I do split objects into their
own nodes in those.

I'd prefer the output be formatted nicely, really, only for debugging
and the odd hand fix purposes. Every once and a while it's nice to be
able to vi the xml and fix something by hand (especially if it was the
php which generated the bad xml). Trying to modify or spot errors in a
2 - 5MB file in vi (or anything for that matter) with no new line
characters is next to impossible. What I don't get is why the first
entry comes out formatted but not the subsequent entries.

Thanks
Mark

 

Navigation:

[Reply to this 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

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