Reply to Re: Limits to XPath implementaiton in PHP5

Your name:

Reply:


Posted by Weston on 10/25/07 22:24

On Oct 22, 3:37 pm, Jeremy <jer...@pinacol.com> wrote:
> That said, try using the DOM API instead of SimpleXML and see if you
> have better results.

There are indeed some different results. Here's a basic rundown:

count() predicate: succesful under DOM, fails quietly under SimpleXML
"|" (union) operator: succesful under DOM, not sure under SimpleXML
"union" operator: fails with error under both
"intersect" operator: fails with error under both
kaysian intersection technique: succesful under DOM, fails under
SimpleXML

>Then, try peeking into the libxml error stack
> directly using the libxml functions:
>
> http://us.php.net/manual/en/ref.libxml.php

I'll have to poke at that further, but at this point it does look like
both APIs can't simply be handing off to libxml.

[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

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