You are here: Re: Problem with domnode->next_sibling() « PHP Programming Language « IT news, forums, messages
Re: Problem with domnode->next_sibling()

Posted by whiskey on 10/31/06 13:44

> Why is the next sibling of my Item-node, a text-node? I use PHP 4.3.10.
W/s are probably treates as anonymous text nodes. In this case, you'll
need to strip them. Try calling your function with
DOMXML_LOAD_DONT_KEEP_BLANKS.

> By the way: why doesn't the domxml_open_file-function validate my XML against the mentioned DTD-file?
Try calling the function with DOMXML_LOAD_VALIDATING.

See PHP manual on how to use flags/modes.

 

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

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