Mike:
On Tue, Jan 22, 2013 at 5:43 AM, Mike Dalessio <
mike.d...@gmail.com> wrote:
> Running perftools...it appears to be the combination of namespaces
> and wildcards that is causing libxml2 to run slowly.
>
> For example, if you changed your original query ...to this:
> the query runs quickly. ... So, as a workaround, use the most precise
> XPath query you can in order to improve performance in libxml2 XPath
> queries.
Thanks for the sleuth work! Removing the namespaces made me nervous
(namespaces are there for a reason!), so your workaround makes me much
happier. Finding an actual solution to the problem will be a nice bit
of debugging work for someone.