Reply to Re: domxml->dump_file formats

Your name:

Reply:


Posted by CptDondo on 12/05/06 18:45

CptDondo wrote:
> Does anyone know how to specify the format for the domxml->dump_file
> method?
>
> I am at a loss; my document is being dumped as one great big long line,
> and I want to insert line breaks and spaces so that it is human readable.

OK, more file xml file ops Q:

When I open the file, I use:

$dom = domxml_open_file("/tmp/test.conf",
DOMXML_LOAD_PARSING + //0
DOMXML_LOAD_COMPLETE_ATTRS + //8
DOMXML_LOAD_SUBSTITUTE_ENTITIES + //4
DOMXML_LOAD_DONT_KEEP_BLANKS //16
);

But that keeps leading and trailing blanks on the entries. Is there a
way to automagically trim leading and trailing whitespace?

I am using PHP4.

Thanks,

--Yan

[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

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