[xml] How to check whether a node contains a certain property?

Date view Thread view Subject view Author view

From: rcx195@us.ibm.com
Date: Wed Jul 12 2000 - 10:15:37 EDT


Is there some function for checking whether a node contains a property?
 Usually I use xmlGetProp function to get a property of a node. But
according to the reference mannual, I have to free the memory taken by the
return value. For my "checking only" purpose, I may never use the return
value of xmlGetProp and I do not want the memory to be allocated to store
the property value.
So I am wondering whether there are other functions that I can use.

Thanks a lot

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