Re: [xml] XPath and MT environments



On Mon, Aug 07, 2006 at 03:39:13PM +0200, Kris Breuker wrote:
Hi,

Is it safe to create and use multiple XPath contexts (using 
xmlXPathNewContext) using the same xmlDocPtr?
I have an xmlDocPtr to a parsed XML document, which will not be changed, 
and I want to run XPath queries on that document, possibly from multiple 
threads.

 yes.

Daniel

-- 
Daniel Veillard      | Red Hat http://redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]