From: Peter Jacobi (pj@walter-graphtek.com)
Date: Fri Jul 14 2000 - 04:29:16 EDT
> Thanks Daniel for adding the xmlHasProp function. It is helpful.
One more vote for this.
> Is it possible that the value of a property is returned without
> allocating memory for it?
I have an unfinished C++ Wrapper for returning (and setting) int, double,
NMTOKEN, NMTOKENS and (STL) string properties. Everything but the
the string case can be used with plain C too.
But in this moment, this is an wrapper only. It saves the application call
to xmlFree, but all allocating is still done. If needed to avoid this for
performance reasons, it is possible, but rather tedious i fear, to rewrite it
so that memory allocations can be avoided if possible.
Regards,
Peter Jacobi
---- Message from the list xml@xmlsoft.org Archived at : http://xmlsoft.org/messages/ to unsubscribe: echo "unsubscribe xml" | mail majordomo@xmlsoft.org
This archive was generated by hypermail 2b29 : Wed Aug 02 2000 - 12:30:22 EDT