[xml] Get a property for read-only purpose

Date view Thread view Subject view Author view

From: rcx195@us.ibm.com
Date: Thu Jul 13 2000 - 09:21:10 EDT


Thanks Daniel for adding the xmlHasProp function. It is helpful.

Now there are two functions that can be used:
1. xmlGetProp for geting the value of a property. Caller must release the
memory.
2. xmlHasProp for checking whether a node contains a property. This
function does not allocate memory, but caller can not
    know the value of the property by calling the function.

Is it possible that the value of a property is returned without allocating
memory for it? This could be useful if the caller only wants to read the
value and does not want new memory to be allocated for storing the value of
the property.

J.

----
Message from the list xml@xmlsoft.org
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@xmlsoft.org


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Aug 02 2000 - 12:30:22 EDT