Re: [xml] libxml2 [Sub-document C14N / Custom Malloc]

2010-03-12 Thread Martin B.
Tejus A G wrote: Hi All, I have 2 queries w.r.t libxml2 API/usage. 1. 2. Is there any way to give the libXML2 library a custom malloc function ? So, that all memory allocations the library does goes through it instead of whatever libXML2 is using. See: xmlMemSetup xmlGcMemSetup

[xml] libxml2 [Sub-document C14N / Custom Malloc]

2010-03-11 Thread Tejus A G
Hi All, I have 2 queries w.r.t libxml2 API/usage. 1. I am trying to C14N transform a sub-tree of a XML document. Is there any simple way to do this ? [I tried XPath but I couldn't find a query to get the full sub-tree using xpath]. I am right now using C14NExecute and have my callback check each

Re: [xml] libxml2 [Sub-document C14N / Custom Malloc]

2010-03-11 Thread Aleksey Sanin
Take a look at xmlC14NIsVisibleCallback Aleksey On 3/11/2010 9:21 AM, Tejus A G wrote: Hi All, I have 2 queries w.r.t libxml2 API/usage. 1. I am trying to C14N transform a sub-tree of a XML document. Is there any simple way to do this ? [I tried XPath but I couldn't find a query to get the