Re: [xml] doc and xpath context reusing
- From: Daniel Veillard <veillard redhat com>
- To: deff bacardi <deff_bacardi hotmail com>
- Cc: xml gnome org
- Subject: Re: [xml] doc and xpath context reusing
- Date: Wed, 22 Oct 2008 15:33:03 +0200
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]