Re: [xml] doc and xpath context reusing



On Wed, Oct 22, 2008 at 02:16:47PM +0200, deff bacardi wrote:

                xmlKeepBlanksDefault(0);

 that's garanteed to make your XPath queries unportable
as you ask to generate documents non-compatible to XML standard
normal behaviour.


Thanks and best regards.

  Make sure to reset the ctxt->node, ctxt->doc before rerunning the
query as they have been modified. Except for that you can reuse a
context.

Daniel


-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel veillard com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/



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